classification
Title: Add a docstring for re.error
Type: behavior Stage: patch review
Components: Library (Lib), Regular Expressions Versions: Python 3.7, Python 3.6, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: ezio.melotti, mrabarnett, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-05-18 09:44 by serhiy.storchaka, last changed 2017-05-18 09:48 by serhiy.storchaka.

Pull Requests
URL Status Linked Edit
PR 1647 open serhiy.storchaka, 2017-05-18 09:48
Messages (1)
msg293916 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-18 09:44
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.
History
Date User Action Args
2017-05-18 09:50:07serhiy.storchakalinkissue30397 dependencies
2017-05-18 09:48:41serhiy.storchakasetpull_requests: + pull_request1742
2017-05-18 09:44:45serhiy.storchakacreate