]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Jun 2021 19:13:37 +0000 (12:13 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 19:13:37 +0000 (20:13 +0100)
(cherry picked from commit 7247f6f433846c6e37308a550e8e5eb6be379856)

Doc/c-api/complex.rst

index e2ea766b3a32a759d93fbd3f12dc6c1439898c50..c25894681bca35cdb59c1e83a0e970c408ef8ca4 100644 (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.