GH-114575: Rename PurePath.pathmod to PurePath.parser (#116513)

And rename the private base class from `PathModuleBase` to `ParserBase`.
This commit is contained in:
Barney Gale 2024-03-31 19:14:48 +01:00 committed by GitHub
parent bfc57d43d8
commit 752e18389e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 123 additions and 119 deletions

View file

@ -303,10 +303,10 @@ Methods and properties
Pure paths provide the following methods and properties:
.. attribute:: PurePath.pathmod
.. attribute:: PurePath.parser
The implementation of the :mod:`os.path` module used for low-level path
operations: either :mod:`posixpath` or :mod:`ntpath`.
parsing and joining: either :mod:`posixpath` or :mod:`ntpath`.
.. versionadded:: 3.13