The official text
Old and new, side by side
Indian Penal Code, 1860
Section 171A “Candidate”, “Electoral right” defined
For the purposes of this Chapter—
(a) “candidate” means a person who has been nominated as a candidate at any election;
(b) “electoral right” means the right of a person to stand, or not to stand as, or to withdraw from being, a candidate or to vote or refrain from voting at an election.
Bharatiya Nyaya Sanhita, 2023
Section 169 Candidate, electoral right defined
For the purposes of this Chapter—
(a) “candidate” means a person who has been nominated as a candidate at any election;
(b) “electoral right” means the right of a person to stand, or not to stand as, or to withdraw from being, a candidate or to vote or refrain from voting at an election.
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.