> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Penal Code - PEN § 1012. — Section 1012.

- **Citation**: Cal. Penal Code - PEN § 1012.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Penal Code - PEN (PEN)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-6/chapter-3/section-1012](https://corpuslaw.us/codes/california/penal-code/part-2/title-6/chapter-3/section-1012)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-6/chapter-3/section-1012](https://corpuslaw.us/codes/california/penal-code/part-2/title-6/chapter-3/section-1012)

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 6. — TITLE 6. PLEADINGS AND PROCEEDINGS BEFORE TRIAL [976. - 1054.10.] > Chapter 3. — CHAPTER 3. Demurrer and Amendment [1002. - 1012.]

## Text

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.
