IPC section 380 is now BNS 305
Now BNS section 305, which widens the offence. Besides theft in a building, tent or vessel used as a dwelling or for keeping property, it covers theft of a vehicle used to carry goods or passengers, theft of goods from such a vehicle, theft of an idol or icon from a place of worship, and theft of Government or local authority property. Same punishment: up to seven years and fine.
Old law · IPC section 380
Theft in dwelling house, etc
Whoever commits theft in any building, tent or vessel, which building, tent or vessel is used as a human dwelling, or used for the custody of property, shall be punished with imprisonment of either description for a term which may extend to seven years, and shall also be liable to fine.
New law · BNS section 305
Theft in a dwelling house, or means of transportation or place of worship, etc
Whoever commits theft—
(a) in any building, tent or vessel used as a human dwelling or used for the custody of property; or
(b) of any means of transport used for the transport of goods or passengers; or
(c) of any article or goods from any means of transport used for the transport of goods or passengers; or
(d) of idol or icon in any place of worship; or
(e) of any property of the Government or of a local authority, shall be punished with imprisonment of either description for a term which may extend to seven years, and shall also be liable to fine.