Skip to content

Commit

Permalink
[Patch #1068277] Clarify that os.path.exists() can return False depen…
Browse files Browse the repository at this point in the history
…ding on permissions. Fred approved committing this patch in December 2004!
  • Loading branch information
akuchling committed Jul 29, 2006
1 parent 2fde3bd commit 9964fdb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Doc/lib/libposixpath.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ \section{\module{os.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}
Expand Down

0 comments on commit 9964fdb

Please sign in to comment.