[docs] [issue13522] Document error return values for PyFloat_* and PyComplex_*
STINNER Victor
report at bugs.python.org
Sun Dec 18 01:46:36 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
_Py_c_pow() doc is wrong:
+ If :attr:`exp.imag` is not null, or :attr:`exp.real` is negative,
+ this method returns zero and sets :c:data:`errno` to :c:data:`EDOM`.
The function only fails if num=0 and exp.real < 0 or if num=0 and exp.imag != 0.
----------
nosy: +haypo
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13522>
_______________________________________
More information about the docs
mailing list