Pending removal in Python 3.20¶
The
cvalfield inPyComplexObject(gh-128813). UsePyComplex_AsCComplex()andPyComplex_FromCComplex()to convert a Python complex number to/from the CPy_complexrepresentation.
The cval field in PyComplexObject (gh-128813).
Use PyComplex_AsCComplex() and PyComplex_FromCComplex()
to convert a Python complex number to/from the C Py_complex
representation.