Commit a94a0e92 authored by Victor Stinner's avatar Victor Stinner

Issue #13522: Fix _Py_co_pow() documentation

Patch written by Arnaud Calmettes.
parent 07b1c877
...@@ -72,7 +72,7 @@ pointers. This is consistent throughout the API. ...@@ -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` Return the exponentiation of *num* by *exp*, using the C :c:type:`Py_complex`
representation. 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`. this method returns zero and sets :c:data:`errno` to :c:data:`EDOM`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment