It shall be unlawful for any physician, dentist or other person to administer chloroform, ether, or any anaesthetic whatsoever, whereby sleep or total loss of sensation or consciousness may be produced, to any female person, unless in the presence of some third person. Any person offending against this section shall be guilty of a misdemeanor, and, upon conviction, shall be fined not exceeding $100 or be confined in jail not exceeding sixty days, or both fined and imprisoned, in the discretion of the court.