summaryrefslogtreecommitdiff
path: root/Doc/lib/libposixpath.tex
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-07-29 19:50:37 +0000
committerAndrew M. Kuchling <amk@amk.ca>2006-07-29 19:50:37 +0000
commit9964fdb466d7338c37e30b302d42bb0df697d234 (patch)
treefe33e81d90b0be34df204da0a2f8fee1cca7abfd /Doc/lib/libposixpath.tex
parent2fde3bda8c54ab475958f0b49b1846a6cf3d76ba (diff)
downloadcpython-git-9964fdb466d7338c37e30b302d42bb0df697d234.tar.gz
[Patch #1068277] Clarify that os.path.exists() can return False depending on permissions. Fred approved committing this patch in December 2004!
Diffstat (limited to 'Doc/lib/libposixpath.tex')
-rw-r--r--Doc/lib/libposixpath.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index 9f0de1f14f..b9cdea1c58 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -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}