Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
barneygale and AA-Turner authored Aug 10, 2024
1 parent f499107 commit 5d9e656
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ we also call *flavours*:
A subclass of :class:`PurePath`, this path flavour represents Windows
filesystem paths, including `UNC paths`_::

>>> PureWindowsPath('c:/', 'Users', 'Me')
PureWindowsPath('c:/Users/Me')
>>> PureWindowsPath('c:/', 'Users', 'Ximénez')
PureWindowsPath('c:/Users/Ximénez')
>>> PureWindowsPath('//server/share/file')
PureWindowsPath('//server/share/file')

Expand Down Expand Up @@ -798,8 +798,8 @@ calls on path objects. There are three ways to instantiate concrete paths:
A subclass of :class:`Path` and :class:`PureWindowsPath`, this class
represents concrete Windows filesystem paths::

>>> WindowsPath('c:/', 'Users', 'Me')
WindowsPath('c:/Users/Me')
>>> WindowsPath('c:/', 'Users', 'Ximénez')
WindowsPath('c:/Users/Ximénez')

*pathsegments* is specified similarly to :class:`PurePath`.

Expand Down

0 comments on commit 5d9e656

Please sign in to comment.