[Python-checkins] cpython (merge 3.3 -> default): rename MathcObject to match object in doctrings for re module (#16760)
andrew.svetlov
python-checkins at python.org
Tue Dec 25 17:49:39 CET 2012
http://hg.python.org/cpython/rev/8ebbab768e1b
changeset: 81046:8ebbab768e1b
parent: 81043:f2222684dd2d
parent: 81045:73b24ee09e0a
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Tue Dec 25 18:49:24 2012 +0200
summary:
rename MathcObject to match object in doctrings for re module (#16760)
files:
Modules/_sre.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_sre.c b/Modules/_sre.c
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2533,7 +2533,7 @@
PyDoc_STRVAR(pattern_search_doc,
"search(string[, pos[, endpos]]) -> match object or None.\n\
Scan through string looking for a match, and return a corresponding\n\
- MatchObject instance. Return None if no position in the string matches.");
+ match object instance. Return None if no position in the string matches.");
PyDoc_STRVAR(pattern_split_doc,
"split(string[, maxsplit = 0]) -> list.\n\
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list