From cc1a0865f1320342b975ba72e48afc61164208f8 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 18 Dec 2011 02:56:18 +0100 Subject: [PATCH] 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 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`. -- 2.40.0