Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b64c14

Browse files
committed
rename MathcObject to match object in doctrings for re module (#16760)
1 parent 090f7be commit 0b64c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_sre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ PyDoc_STRVAR(pattern_match_doc,
25652565
PyDoc_STRVAR(pattern_search_doc,
25662566
"search(string[, pos[, endpos]]) -> match object or None.\n\n\
25672567
Scan through string looking for a match, and return a corresponding\n\
2568-
MatchObject instance. Return None if no position in the string matches.");
2568+
match object instance. Return None if no position in the string matches.");
25692569

25702570
PyDoc_STRVAR(pattern_split_doc,
25712571
"split(string[, maxsplit = 0]) -> list.\n\n\

0 commit comments

Comments
 (0)