The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 331 Resumption of inquiry or trial
(1) Whenever an inquiry or a trial is postponed under section 328 or section 329, the Magistrate or Court, as the case may be, may at any time after the person concerned has ceased to be of unsound mind, resume the inquiry or trial and require the accused to appear or be brought before such Magistrate or Court.
(2) When the accused has been released under section 330, and the sureties for his appearance produce him to the officer whom the Magistrate or Court appoints in this behalf, the certificate of such officer that the accused is capable of making his defence shall be receivable in evidence.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 370 Resumption of inquiry or trial
(1) Whenever an inquiry or a trial is postponed under section 367 or section 368, the Magistrate or Court, as the case may be, may at any time after the person concerned has ceased to be of unsound mind, resume the inquiry or trial and require the accused to appear or be brought before such Magistrate or Court.
(2) When the accused has been released under section 369, and the sureties for his appearance produce him to the officer whom the Magistrate or Court appoints in this behalf, the certificate of such officer that the accused is capable of making his defence shall be receivable in evidence.
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.