From: Victor Stinner Date: Sun, 18 Dec 2011 01:56:18 +0000 (+0100) Subject: Issue #13522: Fix _Py_co_pow() documentation X-Git-Tag: v2.7.3rc1~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc1a0865f1320342b975ba72e48afc61164208f8;p=python Issue #13522: Fix _Py_co_pow() documentation Patch written by Arnaud Calmettes. --- 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`.