/external/python/cpython2/Lib/test/ |
D | test_long.py | 490 def __long__(self): member in LongTest.test_conversion.Foo0 494 def __long__(self): member in LongTest.test_conversion.Foo1 498 def __long__(self): member in LongTest.test_conversion.Foo2 502 def __long__(self): member in LongTest.test_conversion.Foo3 506 def __long__(self): member in LongTest.test_conversion.Foo4 510 def __long__(self): member in LongTest.test_conversion.Foo5 524 def __long__(self): member in LongTest.test_conversion.LongOverridesTrunc 564 def __long__(self): member in LongTest.test_conversion.TruncReturnsLongSubclass 643 def __long__(self): member in LongTest.test_issue9869.BadLong
|
D | test_class.py | 104 def __long__(self, *args): member in AllTests 499 __long__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass 516 def __long__(self): member in ClassTests.testMixIntsAndLongs.IntLongMixClass
|
D | test_cmath.py | 171 def __long__(self): return 2L member in CMathTests.test_user_object.MyInt 175 def __long__(self): return 2L member in CMathTests.test_user_object.MyIntOS
|
D | test_struct.py | 284 def __long__(self): member in StructTest.test_integers.IntTester.run.NotAnIntNS 291 def __long__(self): member in StructTest.test_integers.IntTester.run.NotAnIntOS
|
D | test_format.py | 241 def __long__(self): member in FormatTest.test_format.IntFails
|
D | test_binop.py | 80 def __long__(self): member in Rat
|
/external/python/cpython2/Lib/ |
D | numbers.py | 301 def __long__(self): member in Integral
|
D | UserString.py | 24 def __long__(self): return long(self.data) member in UserString
|
D | decimal.py | 1619 def __long__(self): member in Decimal
|
/external/python/cpython2/Demo/classes/ |
D | Complex.py | 150 def __long__(self): member in Complex
|
D | bitvec.py | 326 def __long__(self): member in BitVec
|
/external/python/cpython2/Misc/ |
D | NEWS | 5482 long for a class whose __long__ method returns a plain int. This 5484 subclass from an object whose __long__ method returns a plain int. 8927 __long__ method could be packed by 'q', 'Q', '*q', '*Q'; for x with 8928 neither __int__ nor __long__, TypeError used to be raised (with a 9139 object; previously an int would be returned for small values. the __long__
|
D | cheatsheet | 1200 int(s) = __int__(s) long(s) = __long__(s)
|
D | HISTORY | 2778 - The type of values returned by __int__, __float__, __long__,
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 2202 object.__long__(self)
|