/external/libmojo/third_party/markupsafe/ |
D | __init__.py | 94 def __mod__(self, arg): member in Markup 99 return self.__class__(text_type.__mod__(self, arg))
|
/external/python/cpython2/Lib/test/ |
D | test_opcodes.py | 107 def __mod__(self, value): member in OpcodeTest.test_modulo_of_string_subclasses.MyString
|
D | test_augassign.py | 175 def __mod__(self, val): member in AugAssignTest.testCustomMethods2.testall
|
D | test_coercion.py | 81 def __mod__(self,other): member in MethodNumber
|
D | test_binop.py | 188 def __mod__(self, other): member in Rat
|
D | test_complex.py | 166 self.assertRaises(ZeroDivisionError, (1+1j).__mod__, 0+0j) 424 def __mod__(self,other): member in ComplexTest.test_subclass.xcomplex
|
D | test_unicode.py | 610 self.assertRaises(OverflowError, u"%c".__mod__, (sys.maxunicode+1,)) 611 self.assertRaises(ValueError, u"%.1\u1032f".__mod__, (1.0/3)) 625 self.assertRaises(UnicodeDecodeError, u"%c".__mod__, chr(num)) 626 self.assertRaises(UnicodeDecodeError, u"%s".__mod__, chr(num))
|
D | test_str.py | 39 self.assertRaises(OverflowError, '%c'.__mod__, 0x1234)
|
D | test_itertools.py | 378 r2 = 'count(%r)'.__mod__(i).replace('L', '')
|
/external/python/cpython2/Lib/ |
D | numbers.py | 227 def __mod__(self, other): member in Real
|
D | UserString.py | 58 def __mod__(self, args): member in UserString
|
D | fractions.py | 441 def __mod__(a, b): member in Fraction
|
D | collections.py | 621 items = ', '.join(map('%r: %r'.__mod__, self.most_common()))
|
D | decimal.py | 1436 def __mod__(self, other, context=None): member in Decimal 1468 return other.__mod__(self, context=context) 5143 r = a.__mod__(b, context=self)
|
/external/libmojo/third_party/jinja2/ |
D | runtime.py | 495 __mod__ = __rmod__ = __pos__ = __neg__ = __call__ = \
|
/external/python/cpython2/Modules/ |
D | operator.c | 394 spam2(mod,__mod__, "mod(a, b) -- Same as a % b.")
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 146 __mod__(a, b)
|
/external/python/cpython2/Doc/howto/ |
D | pyporting.rst | 214 __mod__ (``%`` operator)
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 2084 object.__mod__(self, other) 2103 equivalent to using :meth:`__floordiv__` and :meth:`__mod__`; it should not be
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1184 s%o = __mod__(s,o) divmod(s,o) = __divmod__(s,o)
|
D | NEWS | 4928 - Issue #10596: Fix float.__mod__ to have the same behaviour as
|