summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-16 19:13:37 (GMT)
committerGitHub <noreply@github.com>2021-06-16 19:13:37 (GMT)
commitc689e0a7e2a25621da82f22cc64d089eae05e753 (patch)
tree38ad5aaa99749191e5bede6e16737e1b42f68bff
parent84ce737f73136c1de7c4dc92bc096ed6c963e42d (diff)
downloadcpython-c689e0a7e2a25621da82f22cc64d089eae05e753.zip
cpython-c689e0a7e2a25621da82f22cc64d089eae05e753.tar.gz
cpython-c689e0a7e2a25621da82f22cc64d089eae05e753.tar.bz2
bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744) (GH-26760)
(cherry picked from commit 7247f6f433846c6e37308a550e8e5eb6be379856)
-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.