fractions.Decimal.canonical

Decimal.canonical(context=None)[source]

Returns the same Decimal object.

As we do not have different encodings for the same number, the received object already is in its canonical form.