The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 271 Power to issue commission for examination of witness in prison
The provisions of this Chapter shall be without prejudice to the power of the Court to issue, under section 284, a commission for the examination, as a witness, of any person confined or detained in a prison; and the provisions of Part B of Chapter XXIII shall apply in relation to the examination on commission of any such person in the prison as they apply in relation to the examination on commission of any other person.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 306 Power to issue commission for examination of witness in prison
The provisions of this Chapter shall be without prejudice to the power of the Court to issue, under section 319, a commission for the examination, as a witness, of any person confined or detained in a prison; and the provisions of Part B of Chapter XXV shall apply in relation to the examination on commission of any such person in the prison as they apply in relation to the examination on commission of any other person.
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.