[Python-checkins] cpython (2.7): rename MathcObject to match object in doctrings for re module (#16760)

andrew.svetlov python-checkins at python.org
Tue Dec 25 17:50:14 CET 2012


http://hg.python.org/cpython/rev/6ca8f965fd65
changeset:   81047:6ca8f965fd65
branch:      2.7
parent:      81040:b11f98872c0f
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Tue Dec 25 18:50:03 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
@@ -2546,7 +2546,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