Part II— – Crimes
Division VIII— – Attempts and Conspiracies to commit Crimes and Accessories after the
Fact
Chapter XL— – Attempts
388. (1) When a person, intending to commit an offence, begins to put his intention into execution by means adapted to its fulfillment, and manifests his intention by some overt act, but does not fulfill his intention to such an extent as to commit the offence, he is deemed to attempt to commit the offence.
(2) It is immaterial, except so far as regards punishment, whether the offender does all that is necessary on his part for completing the commission of the offence, or whether the complete fulfillment of his intention is prevented by circumstances independent of his will, or whether he desists of his own motion from the further prosecution of his intention.
(3) It is immaterial that by reason of circumstances not known to the offender it is impossible in fact to commit the offence.
389. Any person who attempts to commit a felony or a misdemeanour is guilty of an offence and is liable, if no other punishment is provided, to one-half of such punishment as may be provided for the offence attempted, but so that if that offence is one punishable by death or life imprisonment he shall not be liable to imprisonment for a term exceeding seven years .
EDIT.