Skip to content

Commit c689e0a

Browse files
bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744) (GH-26760)
(cherry picked from commit 7247f6f)
1 parent 84ce737 commit c689e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/complex.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ pointers. This is consistent throughout the API.
4646
:c:type:`Py_complex` representation.
4747
4848
49-
.. c:function:: Py_complex _Py_c_neg(Py_complex complex)
49+
.. c:function:: Py_complex _Py_c_neg(Py_complex num)
5050
51-
Return the negation of the complex number *complex*, using the C
51+
Return the negation of the complex number *num*, using the C
5252
:c:type:`Py_complex` representation.
5353
5454

0 commit comments

Comments
 (0)