Searched refs:_numbers (Results 1 – 5 of 5) sorted by relevance
34 import numbers as _numbers namespace129 integral_types = (_numbers.Integral, _np.integer)131 real_types = (_numbers.Real, _np.integer, _np.floating)133 complex_types = (_numbers.Complex, _np.number)
154 import numbers as _numbers namespace3845 _numbers.Number.register(Decimal)6044 if isinstance(other, _numbers.Rational):6054 if equality_op and isinstance(other, _numbers.Complex) and other.imag == 0:
140 import numbers as _numbers namespace3743 _numbers.Number.register(Decimal)
600 .. _numbers:
758 .. _numbers: