Home
last modified time | relevance | path

Searched refs:__floordiv__ (Results 1 – 23 of 23) sorted by relevance

/third_party/python/Lib/
Dnumbers.py214 def __floordiv__(self, other): member in Real
Doperator.py426 __floordiv__ = floordiv variable
Dfractions.py416 __floordiv__, __rfloordiv__ = _operator_fallbacks(_floordiv, operator.floordiv) variable in Fraction
D_pydecimal.py1575 def __floordiv__(self, other, context=None): member in Decimal
1608 return other.__floordiv__(self, context=context)
4412 r = a.__floordiv__(b, context=self)
Ddatetime.py700 def __floordiv__(self, other): member in timedelta
/third_party/python/Lib/test/
Dtest_augassign.py154 def __floordiv__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_complex.py114 self.assertRaises(TypeError, complex.__floordiv__, 3+0j, 1.5+0j)
115 self.assertRaises(TypeError, complex.__floordiv__, 3+0j, 0+0j)
Dtest_binop.py148 def __floordiv__(self, other): member in Rat
Dtest_fractions.py709 def __floordiv__(self, other): member in FractionTest.test_int_subclass.myint
Dtest_descr.py4165 def __floordiv__(self, other): member in ClassPropertiesAndMethods.test_subclass_right_op.B
4176 def __floordiv__(self, other): member in ClassPropertiesAndMethods.test_subclass_right_op.C
4187 def __floordiv__(self, other): member in ClassPropertiesAndMethods.test_subclass_right_op.D
Dtest_weakref.py278 def __floordiv__(self, other): member in ReferencesTestCase.test_proxy_div.C
Ddatetimetester.py1006 def __floordiv__(self, other): member in TestTimeDelta.test_issue31752.BadInt
/third_party/node/tools/inspector_protocol/jinja2/
Druntime.py644 __truediv__ = __rtruediv__ = __floordiv__ = __rfloordiv__ = \
/third_party/skia/third_party/externals/jinja2/
Druntime.py770 __floordiv__
/third_party/jinja2/
Druntime.py770 __floordiv__
/third_party/python/Doc/library/
Doperator.rst105 __floordiv__(a, b)
Dunittest.mock.rst2023 ``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``,
/third_party/protobuf/python/google/protobuf/internal/
Dtest_util.py759 def __floordiv__(self, y): member in NonStandardInteger
/third_party/python/Doc/howto/
Dpyporting.rst183 an object defines a ``__truediv__`` method but not ``__floordiv__`` then your
/third_party/python/Doc/c-api/
Dtypeobj.rst273 …:`~PyNumberMethods.nb_floor_divide` | :c:type:`binaryfunc` | __floordiv__ |
275 …:`~PyNumberMethods.nb_inplace_floor_divide` | :c:type:`binaryfunc` | __floordiv__ |
/third_party/python/Doc/reference/
Ddatamodel.rst2351 object.__floordiv__(self, other)
2372 :meth:`__floordiv__` and :meth:`__mod__`; it should not be related to
/third_party/python/Doc/whatsnew/
D2.2.rst755 * Classes can define methods called :meth:`__truediv__` and :meth:`__floordiv__`
/third_party/python/Misc/
DHISTORY17282 (Only __truediv__ and __floordiv__ remain, not sure how to handle