[Python-checkins] bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744)
mdickinson
webhook-mailer at python.org
Wed Jun 16 13:43:58 EDT 2021
https://github.com/python/cpython/commit/7247f6f433846c6e37308a550e8e5eb6be379856
commit: 7247f6f433846c6e37308a550e8e5eb6be379856
branch: main
author: Mark Dickinson <mdickinson at enthought.com>
committer: mdickinson <dickinsm at gmail.com>
date: 2021-06-16T18:43:49+01:00
summary:
bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744)
files:
M Doc/c-api/complex.rst
diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst
index e2ea766b3a32a..c25894681bca3 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.
More information about the Python-checkins
mailing list