FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

RegexFlag parameters not described in most re methods. · Issue #119960 · python/cpython · GitHub

/ cpython Public

RegexFlag parameters not described in most re methods. #119960

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL