/third_party/python/Lib/ |
D | numbers.py | 197 def __divmod__(self, other): member in Real
|
D | fractions.py | 424 __divmod__, __rdivmod__ = _operator_fallbacks(_divmod, divmod) variable in Fraction
|
D | _pydecimal.py | 1423 def __divmod__(self, other, context=None): member in Decimal 1464 return other.__divmod__(self, context=context) 4433 r = a.__divmod__(b, context=self)
|
D | datetime.py | 727 def __divmod__(self, other): member in timedelta
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 481 m.__divmod__.return_value = (2, 1) 486 foo_direct = m.__divmod__(2)
|
/third_party/python/Lib/test/ |
D | test_binop.py | 162 def __divmod__(self, other): member in Rat
|
D | test_decimal.py | 867 def __divmod__(self, other): member in ImplicitConstructionTest.test_rop.E 5144 self.assertRaises(DivisionByZero, Decimal(9).__divmod__, 0) 5150 self.assertRaises(InvalidOperation, Decimal(9).__divmod__, 0)
|
D | test_os.py | 816 def __divmod__(*args): member in UtimeTests.test_issue31577.get_bad_int.BadInt
|
D | datetimetester.py | 1018 def __divmod__(self, other): member in TestTimeDelta.test_issue31752.Sum
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 2353 object.__divmod__(self, other) 2371 :meth:`__divmod__` method should be the equivalent to using
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 224 …:`~PyNumberMethods.nb_divmod` | :c:type:`binaryfunc` | __divmod__ |
|
/third_party/python/Doc/whatsnew/ |
D | 3.5.rst | 2017 :meth:`__divmod__` and :meth:`__matmul__` operators.
|
/third_party/python/Doc/library/ |
D | unittest.mock.rst | 2023 ``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``,
|
/third_party/python/Misc/ |
D | HISTORY | 11189 - Issue #10596: Fix float.__mod__ to have the same behaviour as float.__divmod__
|