summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/complex.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-12-18 01:56:18 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-12-18 01:56:18 (GMT)
commita94a0e92b8c1f75c2a89ce78a26bc57ef9414c3c (patch)
tree566d40d905fccaf12d468f04edba8b321d3e5b01 /Doc/c-api/complex.rst
parent07b1c877b2d07d39405184cde7d60ccf048e6d1d (diff)
downloadcpython-a94a0e92b8c1f75c2a89ce78a26bc57ef9414c3c.zip
cpython-a94a0e92b8c1f75c2a89ce78a26bc57ef9414c3c.tar.gz
cpython-a94a0e92b8c1f75c2a89ce78a26bc57ef9414c3c.tar.bz2
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
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`.