diff Doc/lib/libposixpath.tex @ 8747:cd99520320a3 legacy-trunk

Document getsize(), getmtime(), getatime().
author Guido van Rossum <guido@python.org>
date Fri, 24 Jul 1998 20:49:39 +0000
parents 8a306dfd9f33
children 058417071b0e
line wrap: on
line diff
--- a/Doc/lib/libposixpath.tex	Fri Jul 24 20:49:26 1998 +0000
+++ b/Doc/lib/libposixpath.tex	Fri Jul 24 20:49:39 1998 +0000
@@ -50,6 +50,25 @@
 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}