Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
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
234 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplex
239 def __complex__(self): member in CMathTests.test_user_object.FloatAndComplexOS
Dtest_complex.py311 def __complex__(self): return self.value member in ComplexTest.test_constructor.OS
314 def __complex__(self): return self.value member in ComplexTest.test_constructor.NS
446 def __complex__(self): member in ComplexTest.test_constructor.evilcomplex
481 def __complex__(self): member in ComplexTest.test_constructor.complex0
488 def __complex__(self): member in ComplexTest.test_constructor.complex1
494 def __complex__(self): member in ComplexTest.test_constructor.complex2
Dtest_getargs2.py125 def __complex__(self): member in Complex
132 def __complex__(self): member in ComplexSubclass2
136 def __complex__(self): member in BadComplex
140 def __complex__(self): member in BadComplex2
144 def __complex__(self): member in BadComplex3
Dtest_class.py466 __complex__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_typing.py1534 def __complex__(self): member in ProtocolTests.test_supports_complex.C
/third_party/python/Lib/
Dnumbers.py46 def __complex__(self): member in Complex
246 def __complex__(self): member in Real
Dtyping.py2181 def __complex__(self) -> complex: member in SupportsComplex
D_pydecimal.py1646 def __complex__(self): member in Decimal
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py547 __complex__ = __float__ variable in SkipHandler
/third_party/python/Lib/collections/
D__init__.py1329 def __complex__(self): member in UserString