diff options
author | Fred Drake <fdrake@acm.org> | 1999-03-02 16:37:17 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-03-02 16:37:17 (GMT) |
commit | f6863c19091ca23ef69db31aa033b5802c2be871 (patch) | |
tree | 016349280cb7a4f3d5ba55e74ab58649abb27275 /Doc/lib/libstat.tex | |
parent | 46a9438c43ae28db0433e5b65352f6b13a5afe63 (diff) | |
download | cpython-f6863c19091ca23ef69db31aa033b5802c2be871.zip cpython-f6863c19091ca23ef69db31aa033b5802c2be871.tar.gz cpython-f6863c19091ca23ef69db31aa033b5802c2be871.tar.bz2 |
Added \platform annotations.
Diffstat (limited to 'Doc/lib/libstat.tex')
-rw-r--r-- | Doc/lib/libstat.tex | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Doc/lib/libstat.tex b/Doc/lib/libstat.tex index b74e98b..219cf36 100644 --- a/Doc/lib/libstat.tex +++ b/Doc/lib/libstat.tex @@ -1,11 +1,11 @@ \section{\module{stat} --- - Utilities for interpreting \function{stat()} results.} -\declaremodule{standard}{stat} -\sectionauthor{Skip Montanaro}{skip@automatrix.com} - + Interpreting \function{stat()} results} +\declaremodule{standard}{stat} + \platform{UNIX} \modulesynopsis{Utilities for interpreting the results of -\function{os.stat()}, \function{os.lstat()} and \function{os.fstat()}.} + \function{os.stat()}, \function{os.lstat()} and \function{os.fstat()}.} +\sectionauthor{Skip Montanaro}{skip@automatrix.com} The \module{stat} module defines constants and functions for @@ -46,7 +46,7 @@ Return non-zero if the mode was gotten from a socket. \end{funcdesc} All the data items below are simply symbolic indexes into the 10-tuple -returned by \code{os.stat()} or \code{os.lstat()}. +returned by \function{os.stat()} or \function{os.lstat()}. \begin{datadesc}{ST_MODE} Inode protection mode. @@ -109,7 +109,15 @@ def process(dir, func): print 'Skipping %s/%s' % (dir, f) def f(file): +-Egon + + + print 'frobbed', file if __name__ == '__main__': process(sys.argv[1], f) \end{verbatim} + +-Egon + + |