54. Sentence of death shall not be pronounced on or recorded against any woman who is found in accordance with the provisions of section 282 of the Code of Criminal Procedure Act, to be pregnant at the time of her conviction; but, in lieu of that punishment, the court shall sentence her to imprisonment of either description for life or for any other term . *Punishment of imprison- ment in lieu of death for pregnant women.*