Searched refs:__divmod__ (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/ |
D | numbers.py | 200 def __divmod__(self, other): member in Real
|
D | decimal.py | 1393 def __divmod__(self, other, context=None): member in Decimal 1434 return other.__divmod__(self, context=context) 4259 r = a.__divmod__(b, context=self)
|
/external/python/cpython2/Lib/test/ |
D | test_binop.py | 171 def __divmod__(self, other): member in Rat
|
D | test_decimal.py | 634 def __divmod__(self, other): member in DecimalImplicitConstructionTest.test_rop.E
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 2085 object.__divmod__(self, other) 2102 method, ``x.__add__(y)`` is called. The :meth:`__divmod__` method should be the
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1184 s%o = __mod__(s,o) divmod(s,o) = __divmod__(s,o)
|
D | NEWS | 4929 float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be
|