diff options
-rw-r--r-- | Doc/c-api/complex.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst index f5304bdb22..90e9c03091 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 :ctype:`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 :cdata:`errno` to :cdata:`EDOM`. |