The official text
Old and new, side by side
Indian Penal Code, 1860
Section 270 Malignant act likely to spread infection of disease dangerous to life
Whoever malignantly does any act which is, and which he knows or has reason the believe to be, likely to spread the infection of any disease dangerous to life, shall be punished with imprisonment of either description for a term which may extend to two years, or with fine, or with both.
Bharatiya Nyaya Sanhita, 2023
Section 272 Malignant act likely to spread infection of disease dangerous to life
Whoever malignantly does any act which is, and which he knows or has reason to believe to be, likely to spread the infection of any disease dangerous to life, shall be punished with imprisonment of either description for a term which may extend to two years, or with fine, or with both.
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.