Return True if self is finite; otherwise return False. A Decimal instance is considered finite if it is neither infinite nor a NaN.
(self)
| 3127 | return True |
| 3128 | |
| 3129 | def is_finite(self): |
| 3130 | """Return True if self is finite; otherwise return False. |
| 3131 | |
| 3132 | A Decimal instance is considered finite if it is neither |
| 3133 | infinite nor a NaN. |
| 3134 | """ |
| 3135 | return not self._is_special |
| 3136 | |
| 3137 | def is_infinite(self): |
| 3138 | """Return True if self is infinite; otherwise return False.""" |