Notwithstanding anything contained in section 374, where an accused person has pleaded guilty and has been convicted on such plea, there shall be no appeal,--- (a) if the conviction is by a High Court; or (b) if the conviction is by a Court of Session, Metropolitan Magistrate or Magistrate of the first or second class, except as to the extent or legality of the sentence.
<span style="margin-left:15px;"></span>Notwithstanding anything contained in section 374, where an accused person has pleaded guilty and has been convicted on such plea, there shall be no appeal,---<br> <span style="margin-left:15px;"></span><span style="margin-left:15px;"></span>(a) if the conviction is by a High Court; or<br> <span style="margin-left:15px;"></span><span style="margin-left:15px;"></span>(b) if the conviction is by a Court of Session, Metropolitan Magistrate or Magistrate of the first or second class, except as to the extent or legality of the sentence.<br>