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