[docs] [issue13522] Document error return values for PyFloat_* and PyComplex_*

Arnaud Calmettes report at bugs.python.org
Sat Dec 17 23:31:45 CET 2011


Arnaud Calmettes <calmettes.arnaud at gmail.com> added the comment:

Hi,

Here is the patch I propose for this issue. This is my first attempt to contribute to Python, so please don't hit me too hard if I did something wrong. :)

When browsing the source code of complexobject.c, I also noticed that the return values of the _Py_c_quot and _Py_c_pow (which return zero in case of error) weren't documented at 

http://docs.python.org/dev/c-api/complex.html#_Py_c_quot

----------
nosy: +arnaudc
Added file: http://bugs.python.org/file24007/patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13522>
_______________________________________


More information about the docs mailing list