If there is good reason to believe that a female against whom a judgment of death is rendered is pregnant, such proceedings must be had as are provided in Section 3701, except that instead of a jury, as therein provided, the court may summon three disinterested physicians, of good standing in their profession, to inquire into the supposed pregnancy, who shall, in the presence of the court, but with closed doors, if requested by the defendant, examine the defendant and hear any evidence that may be produced, and make a written finding and certificate of their conclusion, to be approved by the court and spread upon the minutes. The provisions of Section 3702 apply to the proceedings upon such inquiry.