Fix an example
This commit is contained in:
parent
554b1b0f9c
commit
08daab3583
|
@ -217,7 +217,7 @@ Some examples::
|
|||
'/'
|
||||
>>> p.parts
|
||||
<PosixPath.parts: ['/', 'home', 'antoine', 'pathlib', 'setup.py']>
|
||||
>>> p.relative('/home/antoine')
|
||||
>>> p.relative_to('/home/antoine')
|
||||
PosixPath('pathlib/setup.py')
|
||||
>>> p.exists()
|
||||
True
|
||||
|
|
Loading…
Reference in New Issue