Is pre-empted specifically by the following California Penal Code section...Sacramento City Code-
9.32.010 “Dangerous or deadly weapon” defined. The term “dangerous or deadly weapon” includes, but is not limited to, any dirk or dagger; any knife with a blade three inches or more in length; any snap-blade, spring-blade or push-button knife, regardless of the length of the blade; any ice pick or similar sharp stabbing tool; any straight-edge razor or any razor blade fitted to a handle; any dangerous or deadly weapon within the meaning of any law of this state restricting the use thereof; any cutting, stabbing or bludgeoning weapon or device capable of inflicting grievous bodily harm and any firearm other than one carried pursuant to a valid permit, issued by a duly authorized governmental authority, or any ordinary rifle or shotgun lawfully carried for purposes of hunting or other lawful sport. (Prior code § 48.01.001)
And both are superceded by the supremacy of the following amendment..12026.1 a) Section 12025 shall not be construed to prohibit any
citizen of the United States over the age of 18 years who resides or
is temporarily within this state, and who is not prohibited by state
or federal law from possessing, receiving, owning, or purchasing a
firearm, from transporting or carrying any pistol, revolver, or other
firearm capable of being concealed upon the person, provided that
the following applies to the firearm:
(1) The firearm is within a motor vehicle and it is locked in the
vehicle's trunk or in a locked container in the vehicle other than
the utility or glove compartment.
(2) The firearm is carried by the person directly to or from any
motor vehicle for any lawful purpose and, while carrying the firearm,
the firearm is contained within a locked container.
(b) The provisions of this section do not prohibit or limit the
otherwise lawful carrying or transportation of any pistol, revolver,
or other firearm capable of being concealed upon the person in
accordance with this chapter.
(c) As used in this section, "locked container" means a secure
container which is fully enclosed and locked by a padlock, key lock,
combination lock, or similar locking device.
I am not an attorney and this is not legal advice....A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.