The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 295 Affidavit in proof of conduct of public servants
When any application is made to any Court in the course of any inquiry, trial or other proceeding under this Code, and allegations are made therein respecting any public servant, the applicant may give evidence of the facts alleged in the application by affidavit, and the Court may, if it thinks fit, order that evidence relating to such facts be so given.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 331 Affidavit in proof of conduct of public servants
When any application is made to any Court in the course of any inquiry, trial or other proceeding under this Sanhita, and allegations are made therein respecting any public servant, the applicant may give evidence of the facts alleged in the application by affidavit, and the Court may, if it thinks fit, order that evidence relating to such facts be so given.
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.