382. Whoever commits theft, having made preparation for causing death or hurt or restraint, or fear of death or of hurt or of restraint, to any person in order to commit such theft, or in order to effect his escape after committing such theft, or in order to retain property taken by such theft, shall be punished with imprisonment for a term which may extend to 10 years, and shall also be punished with caning with not less than 3 strokes.
A commits theft of property in Z’s possession; and, while committing this theft, he has a loaded pistol under his garment, having provided this pistol for the purpose of hurting Z in case Z should resist. A has committed the offence defined in this section.
A picks Z’s pocket, having posted several of his companions near him, in order that they may restrain Z, if Z should perceive what is passing and should resist, or should attempt to apprehend A. A has committed the offence defined in this section.
[Indian PC 1860, s. 382]