int PyErr_CheckSignals()

Documentation for PyErr_CheckSignals [1] says "If an exception is
raised the error indicator is set and the function returns 1;
otherwise the function returns 0.".  But the code I see tells me the
function returns -1 on error.  What to do?  Fix the code, or the
documentation?

[1] http://docs.python.org/api/exceptionHandling.html#l2h-115
-- 
Gustavo J. A. M. Carneiro
"The universe is always one step beyond logic."
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to