Remove the st_* shortcuts

This commit is contained in:
Antoine Pitrou 2013-11-04 16:20:12 +01:00
parent 8ad14a255d
commit 7456c54989
1 changed files with 0 additions and 10 deletions

View File

@ -221,8 +221,6 @@ Some examples::
PosixPath('pathlib/setup.py')
>>> p.exists()
True
>>> p.st_size
928
Pure paths API
@ -560,14 +558,6 @@ but doesn't have any caching behaviour::
>>> p.stat()
posix.stat_result(st_mode=33277, st_ino=7483155, st_dev=2053, st_nlink=1, st_uid=500, st_gid=500, st_size=928, st_atime=1343597970, st_mtime=1328287308, st_ctime=1343597964)
For ease of use, direct attribute access to the fields of the stat structure
is provided over the path object itself::
>>> p.st_size
928
>>> p.st_mtime
1328287308.889562
Higher-level methods help examine the kind of the file::
>>> p.exists()