[New-bugs-announce] [issue30398] Add a docstring for re.error

Serhiy Storchaka report at bugs.python.org
Thu May 18 05:44:45 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30398>
_______________________________________


More information about the New-bugs-announce mailing list