-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Closed
Labels
Description
Documentation
In https://docs.python.org/3/library/re.html (also 3.12, 3.13, and 3.14) the flags parameter is defined in the documentation for re.compile(), but not for any other method that takes a flags parameter (search, match, fullmatch, split, findall, finditer, sub, subn).
I expected the documentation for each of those methods to at least specify the type of the flags parameter (presumably re.RegexFlag), with a link to the detailed description under the “Module Contents” section.
Linked PRs
Reactions are currently unavailable