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.NS
441 def __complex__(self): member in ComplexTest.test_constructor.evilcomplex
476 def __complex__(self): member in ComplexTest.test_constructor.complex0
483 def __complex__(self): member in ComplexTest.test_constructor.complex1
489 def __complex__(self): member in ComplexTest.test_constructor.complex2
Dtest_class.py466 __complex__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_typing.py3266 def __complex__(self): member in ProtocolTests.test_supports_complex.C
/third_party/python/Lib/test/test_capi/
Dtest_getargs.py126 def __complex__(self): member in Complex
133 def __complex__(self): member in ComplexSubclass2
137 def __complex__(self): member in BadComplex
141 def __complex__(self): member in BadComplex2
145 def __complex__(self): member in BadComplex3
/third_party/python/Lib/
Dnumbers.py46 def __complex__(self): member in Complex
246 def __complex__(self): member in Real
Dtyping.py2791 def __complex__(self) -> complex: member in SupportsComplex
D_pydecimal.py1656 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__.py1351 def __complex__(self): member in UserString