diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-18 01:56:18 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-18 01:56:18 (GMT) |
commit | b99bb20ae43dd05ebc162b8af4caefd6035d0f39 (patch) | |
tree | 3c8cbec581ead814ba4b3acb7ccca0f5f9c2b183 /Doc/c-api/complex.rst | |
parent | f644110816a9315a4f8fa4bcbd9fb5c2708ee1ff (diff) | |
download | cpython-b99bb20ae43dd05ebc162b8af4caefd6035d0f39.zip cpython-b99bb20ae43dd05ebc162b8af4caefd6035d0f39.tar.gz cpython-b99bb20ae43dd05ebc162b8af4caefd6035d0f39.tar.bz2 |
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
Diffstat (limited to 'Doc/c-api/complex.rst')
-rw-r--r-- | Doc/c-api/complex.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst index 3cff88a..fc63b57 100644 --- a/Doc/c-api/complex.rst +++ b/Doc/c-api/complex.rst @@ -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`. |