Home
last modified time | relevance | path

Searched defs:__complex__ (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_cmath.py144 def __complex__(self): member in CMathTests.test_user_object.MyComplex
151 def __complex__(self): member in CMathTests.test_user_object.MyComplexOS
158 def __complex__(self): member in CMathTests.test_user_object.MyComplexException
161 def __complex__(self): member in CMathTests.test_user_object.MyComplexExceptionOS
183 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplex
188 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplexOS
Dtest_complex.py236 def __complex__(self): return self.value member in ComplexTest.test_constructor.OS
239 def __complex__(self): return self.value member in ComplexTest.test_constructor.NS
359 def __complex__(self): member in ComplexTest.test_constructor.evilcomplex
376 def __complex__(self): member in ComplexTest.test_constructor.complex0
383 def __complex__(self): member in ComplexTest.test_constructor.complex1
389 def __complex__(self): member in ComplexTest.test_constructor.complex2
Dtest_getargs2.py100 def __complex__(self): member in Complex
107 def __complex__(self): member in ComplexSubclass2
111 def __complex__(self): member in BadComplex
115 def __complex__(self): member in BadComplex2
119 def __complex__(self): member in BadComplex3
/external/python/cpython3/Lib/test/
Dtest_complex.py221 def __complex__(self): return self.value member in ComplexTest.test_constructor.OS
224 def __complex__(self): return self.value member in ComplexTest.test_constructor.NS
356 def __complex__(self): member in ComplexTest.test_constructor.evilcomplex
373 def __complex__(self): member in ComplexTest.test_constructor.complex0
380 def __complex__(self): member in ComplexTest.test_constructor.complex1
386 def __complex__(self): member in ComplexTest.test_constructor.complex2
Dtest_cmath.py198 def __complex__(self): member in CMathTests.test_user_object.MyComplex
205 def __complex__(self): member in CMathTests.test_user_object.MyComplexOS
212 def __complex__(self): member in CMathTests.test_user_object.MyComplexException
215 def __complex__(self): member in CMathTests.test_user_object.MyComplexExceptionOS
235 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplex
240 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplexOS
Dtest_getargs2.py102 def __complex__(self): member in Complex
109 def __complex__(self): member in ComplexSubclass2
113 def __complex__(self): member in BadComplex
117 def __complex__(self): member in BadComplex2
121 def __complex__(self): member in BadComplex3
Dtest_class.py466 __complex__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_typing.py540 def __complex__(self): member in ProtocolTests.test_supports_complex.C
/external/python/cpython3/Lib/
Dnumbers.py46 def __complex__(self): member in Complex
246 def __complex__(self): member in Real
Dtyping.py1296 def __complex__(self) -> complex: member in SupportsComplex
D_pydecimal.py1642 def __complex__(self): member in Decimal
/external/python/cpython2/Lib/
Dnumbers.py48 def __complex__(self): member in Complex
249 def __complex__(self): member in Real
DUserString.py26 def __complex__(self): return complex(self.data) member in UserString
Ddecimal.py1616 def __complex__(self): member in Decimal
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py512 __complex__ = __float__ variable in SkipHandler
/external/python/cpython3/Lib/collections/
D__init__.py1147 def __complex__(self): return complex(self.data) member in UserString