New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docstrings to regular expression match objects #60647
Comments
The match objects currently do not have useful docstrings. An easy task is to add docstrings modeled after the text in the regular docs. import re
mo = re.search('abc', 'abc')
help(mo) |
Do you mean http://docs.python.org/2/library/re.html#match-objects ? |
Created a patch with docstrings for match objects. Also added empty lines in pattern object docstrings according to http://www.python.org/dev/peps/pep-0007/#id7 |
New changeset e4f1b3565509 by Andrew Svetlov in branch '3.2': New changeset 64e050c2d010 by Andrew Svetlov in branch '3.3': New changeset e3d0417d8266 by Andrew Svetlov in branch 'default': |
New changeset c390dc999fcc by Andrew Svetlov in branch '2.7': |
Pushed. Thank you, Anton! |
|
Fixed in bpo-16760 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: