68. Whoever, having been convicted of an offence punishable under Chapter XII or Chapter XVII of this Code with imprisonment of either description for a term of three years or upwards, shall be guilty of any offence punishable under either of those Chapters with imprisonment of either description for a term of three years or upwards, shall be liable for every such subsequent offence to double the amount of punishment to which he would otherwise have been liable for the same:
Provided that he shall not in any case be liable to imprisonment for a term exceeding twenty years or to a whipping which shall exceed twenty-four lashes or twenty-four strokes.
CHAPTERIV
GENERAL EXCEPTIONS *Punishment of persons, convicted, after a previous conviction of an offence punishable with three years ' imprisonment .*