Kaydet (Commit) 694d9b35 authored tarafından Neal Norwitz's avatar Neal Norwitz

Update doc to reflect code changes for obsoleting use_statcache parameter

üst d683504b
...@@ -16,16 +16,11 @@ Compare the files named \var{f1} and \var{f2}, returning \code{True} if ...@@ -16,16 +16,11 @@ Compare the files named \var{f1} and \var{f2}, returning \code{True} if
they seem equal, \code{False} otherwise. they seem equal, \code{False} otherwise.
Unless \var{shallow} is given and is false, files with identical Unless \var{shallow} is given and is false, files with identical
\function{os.stat()} signatures are taken to be equal. If \function{os.stat()} signatures are taken to be equal.
\var{use_statcache} is given and is true, \versionchanged[\var{use_statcache} is obsolete and ignored.]{2.3}
\function{statcache.stat()} will be called rather then
\function{os.stat()}; the default is to use \function{os.stat()}.
Files that were compared using this function will not be compared again Files that were compared using this function will not be compared again
unless their \function{os.stat()} signature changes. Note that using unless their \function{os.stat()} signature changes.
\var{use_statcache} true will cause the cache invalidation mechanism to
fail --- the stale stat value will be used from \refmodule{statcache}'s
cache.
Note that no external programs are called from this function, giving it Note that no external programs are called from this function, giving it
portability and efficiency. portability and efficiency.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment