Issue #13522: Fix _Py_co_pow() documentation

Patch written by Arnaud Calmettes.
This commit is contained in:
Victor Stinner 2011-12-18 02:56:18 +01:00
parent c9e180043c
commit cc1a0865f1

View file

@ -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`.