Visitar URL original
GH-81079: Add case_sensitive argument to `pathlib.Path.glob()` by barneygale · Pull Request #102710 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Improve consistency between glob() and rglob() docs
  • Loading branch information
barneygale committed May 4, 2023
commit 0d697adf74980a14a3ffa2f0370b15e60e228e09
4 changes: 2 additions & 2 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1294,8 +1294,8 @@ call fails (for example because the path doesn't exist).

By default, or when the *case_sensitive* keyword-only argument is set to
``None``, this method matches paths using platform-specific casing rules:
case-sensitive on POSIX, and case-insensitive on Windows. Set
*case_sensitive* to ``True`` or ``False`` to override this behaviour.
typically, case-sensitive on POSIX, and case-insensitive on Windows.
Set *case_sensitive* to ``True`` or ``False`` to override this behaviour.

.. audit-event:: pathlib.Path.rglob self,pattern pathlib.Path.rglob

Expand Down