diff Doc/c-api/complex.rst @ 74027:67a4e8fe650e

Issue #13522: Fix _Py_co_pow() documentation Patch written by Arnaud Calmettes.
author Victor Stinner <victor.stinner@haypocalc.com>
date Sun, 18 Dec 2011 02:56:18 +0100
parents 68cbf6551710
children
line wrap: on
line diff
--- a/Doc/c-api/complex.rst	Sun Dec 18 02:43:08 2011 +0100
+++ b/Doc/c-api/complex.rst	Sun Dec 18 02:56:18 2011 +0100
@@ -72,7 +72,7 @@
    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`.