California Penal Code
Section
959. The accusatory pleading is sufficient if it can be understood
therefrom:
1. That it is filed in a court having authority to receive it,
though the name of the court be not stated.
2. If an indictment, that it was found by a grand jury of the
county in which the court was held, or if an information, that it was
subscribed and presented to the court by the district attorney of
the county in which the court was held.
3. If a complaint, that it is made and subscribed by some natural
person and sworn to before some officer entitled to administer oaths.
4. That the defendant is named, or if his name is unknown, that he
is described by a fictitious name, with a statement that his true
name is to the grand jury, district attorney, or complainant, as the
case may be, unknown.
5. That the offense charged therein is triable in the court in
which it is filed, except in case of a complaint filed with a
magistrate for the purposes of a preliminary examination.
6. That the offense was committed at some time prior to the filing
of the accusatory pleading.
PENAL CODE
SECTION 1002-1012
1002. The only pleading on the part of the defendant is either a
demurrer or a plea.
1003. Both the demurrer and plea must be put in, in open Court,
either at the time of the arraignment or at such other time as may be
allowed to the defendant for that purpose.
1004. The defendant may demur to the accusatory pleading at any
time prior to the entry of a plea, when it appears upon the face
thereof either:
1. If an indictment, that the grand jury by which it was found had
no legal authority to inquire into the offense charged, or, if any
information or complaint that the court has no jurisdiction of the
offense charged therein;
2. That it does not substantially conform to the provisions of
Sections 950 and 952, and also Section 951 in case of an indictment
or information;
3. That more than one offense is charged, except as provided in
Section 954;
4. That the facts stated do not constitute a public offense;
5. That it contains matter which, if true, would constitute a
legal justification or excuse of the offense charged, or other legal
bar to the prosecution.