Penal Code § 273g
CHAPTER 2. Abandonment and Neglect of Children
Any person who in the presence of any child indulges in any degrading, lewd, immoral or vicious habits or practices, or who is habitually drunk in the presence of any child in his care, custody or control, is guilty of a misdemeanor.