It is unlawful for any person within the city to have in his possession any lottery ticket, or any ticket, bill, paper, device, certificate, or instrument purporting to be or to represent a ticket, chance, share or interest in, or depending upon the event of, a lottery; or any tool, instrument, stamp, die, cut or device used, or intended to be used in, or for contriving, setting up, preparing, printing, stamping, writing, or getting ready for sale, or distribution any lottery, ticket or lottery tickets, or used or intended to be used in, or for contriving, setting up, preparing, proposing or drawing up a lottery; or any tool, instrument, stamp, die, cut, or device for stamping, or marking lottery scrolls, or for stamping, or marking any statement, declaration, memorandum, copy, or list of lottery tickets that have been sold, or for marking or for stamping any paper, statement, certificate, or instrument representing or purporting to be a statement, scroll, copy or list of numbers, characters or figures chosen, selected, designated, or marked as played, or as having been played at, or in or against a lottery, or lottery drawing, or any tool, punch, instrument, die, cut or device used, or intended to be used, in or for contriving or preparing or setting up, or printing or stamping or writing or getting ready for distribution, or circulation, lottery drawings or papers, bill handbills, cards, writings, prints, instruments or devices setting forth or containing, or purporting to set forth or contain memoranda, statements, copies or lists of the lucky or winning numbers, characters or figures in or of a lottery or lottery drawing. Nothing in this section shall be construed to prohibit licensed bingo games authorized and as restricted by Section 19(c) of Article IV of the California Constitution, California Penal Code Section 326.5 (including future amendments thereto), and the provisions of Sections 5.12.010 through 5.12.090 of this code. (Prior code § 5040)