From: Mark Dickinson Date: Wed, 16 Jun 2021 17:43:49 +0000 (+0100) Subject: bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num... X-Git-Tag: v3.11.0a1~845 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7247f6f433846c6e37308a550e8e5eb6be379856;p=thirdparty%2FPython%2Fcpython.git bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744) --- diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst index e2ea766b3a32..c25894681bca 100644 --- a/Doc/c-api/complex.rst +++ b/Doc/c-api/complex.rst @@ -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.