/third_party/python/Lib/test/ |
D | test_cmath.py | 198 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
|
D | test_complex.py | 311 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
|
D | test_getargs2.py | 125 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
|
D | test_class.py | 466 __complex__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
|
/third_party/python/Lib/ |
D | numbers.py | 46 def __complex__(self): member in Complex 246 def __complex__(self): member in Real
|
D | typing.py | 2181 def __complex__(self) -> complex: member in SupportsComplex
|
D | _pydecimal.py | 1646 def __complex__(self): member in Decimal
|
/third_party/python/Doc/c-api/ |
D | complex.rst | 130 If *op* is not a Python complex number object but has a :meth:`__complex__` 132 number object. If ``__complex__()`` is not defined then it falls back to
|
/third_party/skia/third_party/externals/jinja2/ |
D | runtime.py | 798 __complex__
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | runtime.py | 647 __float__ = __complex__ = __pow__ = __rpow__ = __sub__ = \
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | runtime.py | 798 __complex__
|
/third_party/python/Objects/ |
D | complexobject.c | 282 _Py_IDENTIFIER(__complex__); in try_complex_special_method()
|
/third_party/python/Doc/library/ |
D | cmath.rst | 12 :meth:`__complex__` or a :meth:`__float__` method: these methods are used to
|
D | json.rst | 79 ... if '__complex__' in dct: 83 >>> json.loads('{"__complex__": true, "real": 1, "imag": 2}',
|
D | functions.rst | 366 ``x.__complex__()``. If ``__complex__()`` is not defined then it falls back 383 Falls back to :meth:`__index__` if :meth:`__complex__` and
|
D | unittest.mock.rst | 2026 * Numeric conversion methods: ``__complex__``, ``__int__``, ``__float__`` 2103 * ``__complex__``: ``1j``
|
/third_party/jinja2/ |
D | runtime.py | 869 __int__ = __float__ = __complex__ = _fail_with_undefined_error
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 58 subclasses and for inputs having a __complex__ method. Patch by Serhiy
|
D | 3.5.4rc1.rst | 154 subclasses and for inputs having a __complex__ method. Patch by Serhiy
|
D | 3.8.0b1.rst | 74 :meth:`~object.__complex__` is not available.
|
D | 3.7.0a1.rst | 622 The deprecation warning is emitted if __complex__ returns an instance of a 767 subclasses and for inputs having a __complex__ method. Patch by Serhiy
|
/third_party/python/Modules/_decimal/tests/ |
D | deccheck.py | 547 __complex__ = __float__ variable in SkipHandler
|
/third_party/python/Lib/collections/ |
D | __init__.py | 1329 def __complex__(self): member in UserString
|
/third_party/python/Doc/whatsnew/ |
D | 3.7.rst | 1929 Returning a subclass of :class:`complex` from :meth:`object.__complex__` is 1931 ``__complex__()`` consistent with :meth:`object.__int__` and
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 347 Objects/complexobject.c:try_complex_special_method():PyId___complex__ _Py_IDENTIFIER(__complex__)
|