Home
last modified time | relevance | path

Searched refs:__mod__ (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/markupsafe/
D__init__.py94 def __mod__(self, arg): member in Markup
99 return self.__class__(text_type.__mod__(self, arg))
/third_party/node/tools/inspector_protocol/markupsafe/
D__init__.py94 def __mod__(self, arg): member in Markup
99 return self.__class__(text_type.__mod__(self, arg))
/third_party/markupsafe/
D__init__.py103 def __mod__(self, arg: t.Any) -> "Markup": member in Markup
109 return self.__class__(super().__mod__(arg))
/third_party/python/Lib/test/
Dtest_opcodes.py131 def __mod__(self, value): member in OpcodeTest.test_modulo_of_string_subclasses.MyString
Dtest_augassign.py174 def __mod__(self, val): member in AugAssignTest.testCustomMethods2.testall
Dtest_binop.py179 def __mod__(self, other): member in Rat
Dtest_unicode.py1415 self.assertRaises(OverflowError, "%c".__mod__, (0x110000,))
1417 self.assertRaises(TypeError, "%c".__mod__, "aa")
1418 self.assertRaises(ValueError, "%.1\u1032f".__mod__, (1.0/3))
1419 self.assertRaises(TypeError, "%i".__mod__, "aa")
Dtest_fractions.py713 def __mod__(self, other): member in FractionTest.test_int_subclass.myint
/third_party/python/Lib/
Dnumbers.py224 def __mod__(self, other): member in Real
Doperator.py431 __mod__ = mod variable
Dfractions.py538 __mod__, __rmod__ = _operator_fallbacks(_mod, operator.mod) variable in Fraction
D_pydecimal.py1466 def __mod__(self, other, context=None): member in Decimal
1498 return other.__mod__(self, context=context)
5319 r = a.__mod__(b, context=self)
Ddatetime.py690 def __mod__(self, other): member in timedelta
/third_party/mindspore/mindspore/common/
Dtensor.py218 def __mod__(self, other): member in Tensor
225 return self.__mod__(other)
/third_party/skia/third_party/externals/jinja2/
Druntime.py774 __mod__
/third_party/node/tools/inspector_protocol/jinja2/
Druntime.py645 __mod__ = __rmod__ = __pos__ = __neg__ = __call__ = \
/third_party/jinja2/
Druntime.py774 __mod__
/third_party/boost/libs/python/doc/reference/
Doperators.qbk113 [[`self % r`][`__mod__`][`x % y`]]
/third_party/python/Doc/library/
Doperator.rst135 __mod__(a, b)
/third_party/protobuf/python/google/protobuf/internal/
Dtest_util.py768 def __mod__(self, y): member in NonStandardInteger
/third_party/python/Misc/NEWS.d/
D3.6.1rc1.rst37 Support __rmod__ for subclasses of str being called before str.__mod__.
D3.10.0a2.rst175 ``__mod__``, ``__divmod__``, ``__rfloordiv__``, ``__rmod__`` and
D3.5.4rc1.rst143 Support __rmod__ for subclasses of str being called before str.__mod__.
/third_party/python/Lib/collections/
D__init__.py1391 def __mod__(self, args): member in UserString
/third_party/python/Doc/howto/
Dpyporting.rst223 note that as of Python 3.5 the ``__mod__`` method was added to the bytes type.

12