Cal. Penal Code
Cal. Penal Code § 1012
This is the text of the statute as published at leginfo.legislature.ca.gov, retrieved July 24, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two ever differ.
1012.
When any of the objections mentioned in Section 1004 appears on the face of the accusatory pleading, it can be taken only by demurrer, and failure so to take it shall be deemed a waiver thereof, except that the objection to the jurisdiction of the court and the objection that the facts stated do not constitute a public offense may be taken by motion in arrest of judgment.
(Amended by Stats. 1951, Ch. 1674.)
Reading a statute is the first step
A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.