Use a simpler example

This commit is contained in:
Antoine Pitrou 2013-10-25 21:03:28 +02:00
parent f565b37f78
commit f36388059e
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@ Some examples::
'/'
>>> p.parts
<PosixPath.parts: ['/', 'home', 'antoine', 'pathlib', 'setup.py']>
>>> list(p.parents())
[PosixPath('/home/antoine/pathlib'), PosixPath('/home/antoine'), PosixPath('/home'), PosixPath('/')]
>>> p.relative('/home/antoine')
PosixPath('pathlib/setup.py')
>>> p.exists()
True
>>> p.st_size