summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-25 16:48:54 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-25 16:48:54 (GMT)
commit0b64c1415ea46b2ac7464396d5603fe5cb278870 (patch)
tree1a3ad1abd0c93a6c6b5e116e7b87a954aea4f561
parent090f7be6dfd4e246cf5bc2db24c2070810d3c98b (diff)
downloadcpython-0b64c1415ea46b2ac7464396d5603fe5cb278870.zip
cpython-0b64c1415ea46b2ac7464396d5603fe5cb278870.tar.gz
cpython-0b64c1415ea46b2ac7464396d5603fe5cb278870.tar.bz2
rename MathcObject to match object in doctrings for re module (#16760)
-rw-r--r--Modules/_sre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 99101e7..88bbf6a 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2565,7 +2565,7 @@ PyDoc_STRVAR(pattern_match_doc,
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\