8000 gh-87691: clarify use of anchor in pathlib docs by hauntsaninja · Pull Request #100782 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-87691: clarify use of anchor in pathlib docs #100782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 6, 2023
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 8000 files.
Loading
Diff view
Diff view
Prev Previous commit
Update Doc/library/pathlib.rst
Co-authored-by: Barney Gale <barney.gale@gmail.com>
  • Loading branch information
hauntsaninja and barneygale authored Jan 6, 2023
commit 05fe8ddd208b7c692cde490507cf127040f8641a
2 changes: 1 addition & 1 deletion Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ we also call *flavours*:
PurePosixPath('.')

If a segment is an absolute path, all previous segments are ignored
(like :func:`os.path.join`')::
(like :func:`os.path.join`)::

>>> PurePath('/etc', '/usr', 'lib64')
PurePosixPath('/usr/lib64')
Expand Down
0