mirror of https://github.com/python/cpython
[Patch #1068277] Clarify that os.path.exists() can return False depending on permissions. Fred approved committing this patch in December 2004!
This commit is contained in:
parent
2fde3bda8c
commit
9964fdb466
|
@ -42,8 +42,11 @@ half of the pair returned by \code{split(\var{path})}.
|
|||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{exists}{path}
|
||||
Return \code{True} if \var{path} refers to an existing path.
|
||||
Returns \code{False} for broken symbolic links.
|
||||
Return \code{True} if \var{path} refers to an existing path. Returns
|
||||
\code{False} for broken symbolic links. On some platforms, this
|
||||
function may return \code{False} if permission is not granted to
|
||||
execute \function{os.stat()} on the requested file, even if the
|
||||
\var{path} physically exists.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{lexists}{path}
|
||||
|
|
Loading…
Reference in New Issue