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

andrew.svetlov python-checkins at python.org
Tue Dec 25 17:49:36 CET 2012


http://hg.python.org/cpython/rev/3bee420d400f
changeset:   81044:3bee420d400f
branch:      3.2
parent:      81041:7c4ef8faeb4a
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Tue Dec 25 18:48:54 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
@@ -2565,7 +2565,7 @@
 PyDoc_STRVAR(pattern_search_doc,
 "search(string[, pos[, endpos]]) -> match object or None.\n\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\n\

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list