New submission from Serhiy Storchaka: re.error doesn't have its own docstring and inherits it from Exception when format pydoc output: "Common base class for all non-exit exceptions." This is wrong of course.
Proposed patch adds a docstring for re.error. It overrides Exception docstring and documents additional re.error attributes. ---------- assignee: serhiy.storchaka components: Library (Lib), Regular Expressions messages: 293916 nosy: ezio.melotti, mrabarnett, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Add a docstring for re.error type: behavior versions: Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30398> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com