]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
rename MathcObject to match object in doctrings for re module (#16760)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 25 Dec 2012 16:50:03 +0000 (18:50 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 25 Dec 2012 16:50:03 +0000 (18:50 +0200)
Modules/_sre.c

index 16e0303a2762e8d123fab174d4a77f458005aa11..8f47688d410d0d1b445b0ec77c53823bfb28dd84 100644 (file)
@@ -2546,7 +2546,7 @@ PyDoc_STRVAR(pattern_match_doc,
 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\