[Python-checkins] cpython: Issue #13522: Fix _Py_co_pow() documentation

victor.stinner python-checkins at python.org
Sun Dec 18 02:54:27 CET 2011


http://hg.python.org/cpython/rev/67a4e8fe650e
changeset: 74027:67a4e8fe650e
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Sun Dec 18 02:56:18 2011 +0100
summary:
 Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
files:
 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
--- a/Doc/c-api/complex.rst
+++ b/Doc/c-api/complex.rst
@@ -72,7 +72,7 @@
 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`.
 
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /