The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 235 Judgment of acquittal or conviction
(1) After hearing arguments and points of law (if any), the Judge shall give a judgment in the case.
(2) If the accused is convicted, the Judge shall, unless he proceeds in accordance with the provisions of section 360, hear the accused on the questions of sentence, and then pass sentence on him according to law.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 258 Judgment of acquittal or conviction
(1) After hearing arguments and points of law (if any), the Judge shall give a judgment in the case, as soon as possible, within a period of thirty days from the date of completion of arguments, which may be extended to a period of forty-five days for reasons to be recorded in writing.
(2) If the accused is convicted, the Judge shall, unless he proceeds in accordance with the provisions of section 401, hear the accused on the questions of sentence, and then pass sentence on him according to law.
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.