summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2021-06-16 17:43:49 (GMT)
committerGitHub <noreply@github.com>2021-06-16 17:43:49 (GMT)
commit7247f6f433846c6e37308a550e8e5eb6be379856 (patch)
treea80acca224ac1ae63f17aadb3acb5075e09e4ffb /Doc
parent6773c3eaa735b5061b4a97f2c730703a32d8c9ff (diff)
downloadcpython-7247f6f433846c6e37308a550e8e5eb6be379856.zip
cpython-7247f6f433846c6e37308a550e8e5eb6be379856.tar.gz
cpython-7247f6f433846c6e37308a550e8e5eb6be379856.tar.bz2
bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/complex.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst
index e2ea766..c258946 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.