mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
This commit is contained in:
parent
f644110816
commit
b99bb20ae4
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue