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.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst
index 3cff88a..fc63b57 100644
--- a/Doc/c-api/complex.rst
+++ b/Doc/c-api/complex.rst
@@ -72,7 +72,7 @@ pointers. This is consistent throughout the API.
Return the exponentiation of *num* by *exp*, using the C :c:type:`Py_complex`
representation.
- If :attr:`exp.imag` is not null, or :attr:`exp.real` is negative,
+ If *num* is null and *exp* is not a positive real number,
this method returns zero and sets :c:data:`errno` to :c:data:`EDOM`.