Skip to content

Path.rglob -> documentation does not specify what pattern is #101112

Description

@jugmac00

Documentation

Today I came across Path.rglob in our codebase.

I went to https://docs.python.org/3/library/pathlib.html#pathlib.Path.rglob and tried to find out what pattern actually is. While the current documentation links to Path.glob(), I would like to add a note similar you can find at https://docs.python.org/3/library/pathlib.html#pathlib.Path.glob, ie

Patterns are the same as for fnmatch

Would a PR be welcome to add this kind of information?

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions