Remove stat caching
This commit is contained in:
parent
7456c54989
commit
eb0946e474
|
@ -551,9 +551,9 @@ working directory in absolute form::
|
|||
File metadata
|
||||
-------------
|
||||
|
||||
The ``stat()`` method caches and returns the file's stat() result;
|
||||
``restat()`` forces refreshing of the cache. ``lstat()`` is also provided,
|
||||
but doesn't have any caching behaviour::
|
||||
The ``stat()`` returns the file's stat() result; similarly, ``lstat()``
|
||||
returns the file's lstat() result (which is different iff the file is a
|
||||
symbolic link)::
|
||||
|
||||
>>> 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)
|
||||
|
|
Loading…
Reference in New Issue