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
s/Posix/POSIX/
  • Loading branch information
ambv authored Sep 8, 2021
commit 22ecea922b4a97a37b2e1dae6601da1e2376616a
4 changes: 2 additions & 2 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ call fails (for example because the path doesn't exist).
>>> Path.home()
PosixPath('/home/antoine')

Note that unlike :func:`os.path.expanduser`, on Posix systems a
Note that unlike :func:`os.path.expanduser`, on POSIX systems a
:exc:`KeyError` or :exc:`RuntimeError` will be raised, and on Windows systems a
:exc:`RuntimeError` will be raised if home directory can't be resolved.

Expand Down Expand Up @@ -768,7 +768,7 @@ call fails (for example because the path doesn't exist).
>>> p.expanduser()
PosixPath('/home/eric/films/Monty Python')

Note that unlike :func:`os.path.expanduser`, on Posix systems a
Note that unlike :func:`os.path.expanduser`, on POSIX systems a
:exc:`KeyError` or :exc:`RuntimeError` will be raised, and on Windows systems a
:exc:`RuntimeError` will be raised if home directory can't be resolved.

Expand Down