New submission from Serhiy Storchaka:

Proposed patch adds re.Patter and re.Match types (names are conforming with the 
typing module) that represent the types of compiled regular expressin objects 
and match objects. The purpose of this is exposing the documentation of the 
methods of these objects in the module documentation produced by pydoc.

The patch also changes the __module__ attribute of these classes and re.error 
(this enhances the help and repr and increases pickle compatibility of 
re.error), adds docstrings for re.error and many descriptors, and fixes few 
other docstrings.

----------
assignee: serhiy.storchaka
components: Extension Modules, Library (Lib), Regular Expressions
messages: 293914
nosy: ezio.melotti, mrabarnett, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Expose regular expression and match objects types in the re module
type: enhancement
versions: Python 3.7

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

Reply via email to