summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-24 20:49:39 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-24 20:49:39 (GMT)
commit2babd7b151c5601edd6fb6b40a225ddc6b85ce7a (patch)
tree971f588018a64bd88c03411596cdff346b0a7fab
parent2bc1f8f07e7f58aa6db209260dd7a0a340fcfa12 (diff)
downloadcpython-2babd7b151c5601edd6fb6b40a225ddc6b85ce7a.zip
cpython-2babd7b151c5601edd6fb6b40a225ddc6b85ce7a.tar.gz
cpython-2babd7b151c5601edd6fb6b40a225ddc6b85ce7a.tar.bz2
Document getsize(), getmtime(), getatime().
-rw-r--r--Doc/lib/libposixpath.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index 6373458..8ad2d95 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -50,6 +50,25 @@ variable names and references to non-existing variables are left
unchanged.
\end{funcdesc}
+\begin{funcdesc}{getsize}{filename}
+Return the size, in bytes, of \var{filename}. Raise
+\exception{os.error} if the file does not exist or is inaccessible.
+\end{funcdesc}
+
+\begin{funcdesc}{getmtime}{filename}
+Return the time of last modification of \var{filename}. The return
+value is integer giving the number of seconds since the epoch (see the
+\module{time} module. Raise \exception{os.error} if the file does not
+exist or is inaccessible.
+\end{funcdesc}
+
+\begin{funcdesc}{getatime}{filename}
+Return the time of last access of \var{filename}. The return
+value is integer giving the number of seconds since the epoch (see the
+\module{time} module. Raise \exception{os.error} if the file does not
+exist or is inaccessible.
+\end{funcdesc}
+
\begin{funcdesc}{isabs}{p}
Return true if \var{p} is an absolute pathname (begins with a slash).
\end{funcdesc}