Fix an example

This commit is contained in:
Antoine Pitrou 2013-11-16 19:32:39 +01:00
parent 554b1b0f9c
commit 08daab3583
1 changed files with 1 additions and 1 deletions

View File

@ -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