Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

curses.error is documented as an exception raised when a curses library 
function returns an error. No need to repeat this for every curses function.

It is very uncommon to document all exceptions that can be raised by a 
particular function in Python. Because of dynamic nature of Python virtually 
any function can raise arbitrary exception.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39433>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to