bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744)

This commit is contained in:
Mark Dickinson 2021-06-16 18:43:49 +01:00 committed by GitHub
parent 6773c3eaa7
commit 7247f6f433
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,9 +46,9 @@ pointers. This is consistent throughout the API.
:c:type:`Py_complex` representation.
.. c:function:: Py_complex _Py_c_neg(Py_complex complex)
.. c:function:: Py_complex _Py_c_neg(Py_complex num)
Return the negation of the complex number *complex*, using the C
Return the negation of the complex number *num*, using the C
:c:type:`Py_complex` representation.