summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/complex.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/complex.rst')
-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 c258946..9228ce8 100644
--- a/Doc/c-api/complex.rst
+++ b/Doc/c-api/complex.rst
@@ -115,12 +115,12 @@ Complex Numbers as Python Objects
.. c:function:: double PyComplex_RealAsDouble(PyObject *op)
- Return the real part of *op* as a C :c:type:`double`.
+ Return the real part of *op* as a C :c:expr:`double`.
.. c:function:: double PyComplex_ImagAsDouble(PyObject *op)
- Return the imaginary part of *op* as a C :c:type:`double`.
+ Return the imaginary part of *op* as a C :c:expr:`double`.
.. c:function:: Py_complex PyComplex_AsCComplex(PyObject *op)