Home
last modified time | relevance | path

Searched refs:__long__ (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_long.py490 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
Dtest_class.py104 def __long__(self, *args): member in AllTests
499 __long__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
516 def __long__(self): member in ClassTests.testMixIntsAndLongs.IntLongMixClass
Dtest_cmath.py171 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
Dtest_format.py241 def __long__(self): member in FormatTest.test_format.IntFails
Dtest_struct.py284 def __long__(self): member in StructTest.test_integers.IntTester.run.NotAnIntNS
291 def __long__(self): member in StructTest.test_integers.IntTester.run.NotAnIntOS
Dtest_binop.py80 def __long__(self): member in Rat
/external/python/cpython2/Lib/
Dnumbers.py301 def __long__(self): member in Integral
DUserString.py24 def __long__(self): return long(self.data) member in UserString
Ddecimal.py1619 def __long__(self): member in Decimal
/external/llvm-project/lldb/examples/python/
Dsbvalue.py258 def __long__(self): member in variable
/external/python/cpython2/Demo/classes/
DComplex.py150 def __long__(self): member in Complex
Dbitvec.py326 def __long__(self): member in BitVec
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape.py246 def __long__(self): member in Dimension
Dops.py993 def __long__(self): member in _EagerTensorBase
/external/python/pyasn1/pyasn1/type/
Duniv.py200 def __long__(self): member in Integer
562 def __long__(self): member in BitString
1469 def __long__(self): member in Real
/external/python/cpython2/Misc/NEWS.d/
D2.6rc1.rst40 an int would be returned for small values. the __long__ method is allowed to
D2.7.1rc1.rst76 whose __long__ method returns a plain int. This fixes an interpreter crash
78 __long__ method returns a plain int.
D2.7a1.rst5411 __long__ method could be packed by 'q', 'Q', '*q', '*Q'; for x with
5412 neither __int__ nor __long__, TypeError used to be raised (with a
/external/python/cpython3/Lib/test/
Dtest_long.py385 def __long__(self): member in LongTest.test_conversion.JustLong
391 def __long__(self): member in LongTest.test_conversion.LongTrunc
/external/llvm-project/lldb/bindings/python/
Dpython-extensions.swig491 def __long__(self):
/external/protobuf/python/google/protobuf/internal/
Dtest_util.py742 def __long__(self): member in NonStandardInteger
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py1381 def __long__(self): member in BaseResourceVariable
/external/python/pyasn1/
DCHANGES.rst509 - Fix to __long__() to actually return longs on py2k
/external/python/cpython2/Misc/
Dcheatsheet1200 int(s) = __int__(s) long(s) = __long__(s)
/external/python/cpython2/Doc/reference/
Ddatamodel.rst2214 object.__long__(self)

12