From: Andrew Svetlov Date: Tue, 25 Dec 2012 16:49:08 +0000 (+0200) Subject: rename MathcObject to match object in doctrings for re module (#16760) X-Git-Tag: v3.3.1rc1~484 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41dc9f3cd15e5184700e2d0fc67b9fef9241c7df;p=python rename MathcObject to match object in doctrings for re module (#16760) --- 41dc9f3cd15e5184700e2d0fc67b9fef9241c7df diff --cc Modules/_sre.c index ee353bb161,88bbf6a941..de3539658d --- a/Modules/_sre.c +++ b/Modules/_sre.c @@@ -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,