From: Victor Stinner Date: Sun, 18 Dec 2011 01:56:18 +0000 (+0100) Subject: Issue #13522: Fix _Py_co_pow() documentation X-Git-Tag: v3.3.0a1~577 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b99bb20ae43dd05ebc162b8af4caefd6035d0f39;p=thirdparty%2FPython%2Fcpython.git 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 3cff88a4e34c..fc63b57a8552 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`.