sentences:  This article focuses exclusively on California criminal law.California Penal Code section 15 defines a "crime" or "public offense" as an act committed or omitted in violation of a law forbidding or commanding it and to which is annexed, upon conviction, either of the following punishments