From a94a0e92b8c1f75c2a89ce78a26bc57ef9414c3c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 18 Dec 2011 02:56:18 +0100 Subject: Issue #13522: Fix _Py_co_pow() documentation Patch written by Arnaud Calmettes. --- Doc/c-api/complex.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`. -- cgit v0.12