The official text
Old and new, side by side
Indian Penal Code, 1860
Section 60 Sentence may be (in certain cases of imprisonment) wholly or partly rigorous or simple
In every case in which an offender is punishable with imprisonment which may be of either description, it shall be competent to the Court which sentences such offender to direct in the sentence that such imprisonment shall be wholly rigorous, or that such imprisonment shall be wholly simple, or that any part of such imprisonment shall be rigorous and the rest simple.
Bharatiya Nyaya Sanhita, 2023
Section 7 Sentence may be (in certain cases of imprisonment) wholly or partly rigorous or simple
In every case in which an offender is punishable with imprisonment which may be of either description, it shall be competent to the Court which sentences such offender to direct in the sentence that such imprisonment shall be wholly rigorous, or that such imprisonment shall be wholly simple, or that any part of such imprisonment shall be rigorous and the rest simple.
The texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed; State amendments are not shown. The PDFs linked below carry the full history.