Antoine Pitrou added the comment: Le 06/02/2015 09:34, Nick Coghlan a écrit : > > It's genuinely user hostile, as the "from_exc_tuple" version is entirely > redundant, and folks using pydoc to discover the API won't know they > "shouldn't" use the constructor directly.
Using pydoc isn't generally a successful way of discovering an API. It shows you too many details that don't matter. Besides our docstrings are much terser and less informative than the Sphinx doc. pydoc is useful mostly as a Python-specific "man" command: you know something exists, just want to remember the details. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17911> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com