Skip to content

Commit a923733

Browse files
skirpichevencukou
andauthored
Update Doc/c-api/complex.rst
Co-authored-by: Petr Viktorin <[email protected]>
1 parent 028e8b1 commit a923733

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/c-api/complex.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,10 @@ Complex Numbers as Python Objects
123123
The complex number value, using the C :c:type:`Py_complex` representation.
124124
125125
.. deprecated-removed:: next 3.20
126-
Use instead :c:func:`PyComplex_AsCComplex` and
127-
:c:func:`PyComplex_FromCComplex` to access/set a Python complex
128-
number, using the C :c:type:`Py_complex` representation.
126+
Use :c:func:`PyComplex_AsCComplex` and
127+
:c:func:`PyComplex_FromCComplex` to convert a
128+
Python complex number to/from the C :c:type:`Py_complex`
129+
representation.
129130
130131
131132
.. c:var:: PyTypeObject PyComplex_Type

0 commit comments

Comments
 (0)