The official text
Old and new, side by side
Indian Penal Code, 1860
Section 376E Punishment for repeat offenders
Whoever has been previously convicted of an offence punishable under section 376 or section 376A or section 376AB or section 376D or section 376DA or section 376DB, and is subsequently convicted of an offence punishable under any of the said sections shall be punished with imprisonment for life which shall mean imprisonment for the remainder of that person's natural life, or with death.
Bharatiya Nyaya Sanhita, 2023
Section 71 Punishment for repeat offenders
Whoever has been previously convicted of an offence punishable under section 64 or section 65 or section 66 or section 70 and is subsequently convicted of an offence punishable under any of the said sections shall be punished with imprisonment for life which shall mean imprisonment for the remainder of that person’s natural life, or with death.
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.