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.
(self)
| 2878 | return 0 |
| 2879 | |
| 2880 | def canonical(self): |
| 2881 | """Returns the same Decimal object. |
| 2882 | |
| 2883 | As we do not have different encodings for the same number, the |
| 2884 | received object already is in its canonical form. |
| 2885 | """ |
| 2886 | return self |
| 2887 | |
| 2888 | def compare_signal(self, other, context=None): |
| 2889 | """Compares self to the other operand numerically. |
no outgoing calls