diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-18 01:56:18 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-18 01:56:18 (GMT) |
commit | a94a0e92b8c1f75c2a89ce78a26bc57ef9414c3c (patch) | |
tree | 566d40d905fccaf12d468f04edba8b321d3e5b01 /Doc | |
parent | 07b1c877b2d07d39405184cde7d60ccf048e6d1d (diff) | |
download | cpython-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')
-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 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`. |