quantlib.time.date.Period.normalize

Period.normalize(self)

Normalises the units.