Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b99bb20

Browse files
author
Victor Stinner
committed
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
1 parent f644110 commit b99bb20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/complex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pointers. This is consistent throughout the API.
7272
Return the exponentiation of *num* by *exp*, using the C :c:type:`Py_complex`
7373
representation.
7474
75-
If :attr:`exp.imag` is not null, or :attr:`exp.real` is negative,
75+
If *num* is null and *exp* is not a positive real number,
7676
this method returns zero and sets :c:data:`errno` to :c:data:`EDOM`.
7777
7878

0 commit comments

Comments
 (0)