]> granicus.if.org Git - python/commitdiff
rename MathcObject to match object in doctrings for re module (#16760)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 25 Dec 2012 16:49:08 +0000 (18:49 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 25 Dec 2012 16:49:08 +0000 (18:49 +0200)
1  2 
Modules/_sre.c

diff --cc Modules/_sre.c
index ee353bb1617c6adea20a554c73cd62b5d6ab5a06,88bbf6a941e0485372b403b5139cad1f87ca3d6a..de3539658d255f391e531adcf78d82277b2180e7
@@@ -2531,12 -2563,12 +2531,12 @@@ PyDoc_STRVAR(pattern_match_doc
      Matches zero or more characters at the beginning of the string");
  
  PyDoc_STRVAR(pattern_search_doc,
 -"search(string[, pos[, endpos]]) -> match object or None.\n\n\
 +"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\n\
 +"split(string[, maxsplit = 0])  -> list.\n\
      Split string by the occurrences of pattern.");
  
  PyDoc_STRVAR(pattern_findall_doc,