--- ../../Doc/lib/libos.tex 2006-01-15 11:54:56.000000000 +0100 +++ libos.tex 2006-01-22 19:56:48.791947976 +0100 @@ -1008,7 +1008,7 @@ \versionchanged [If \function{stat_float_times} returns true, the time values are floats, measuring seconds. Fractions of a second may be reported if the system supports that. On Mac OS, the times are always -floats. See \function{stat_float_times} for further discussion. ]{2.3} +floats. See \function{stat_float_times} for further discussion]{2.3} On some \UNIX{} systems (such as Linux), the following attributes may also be available: @@ -1018,8 +1018,8 @@ \member{st_flags} (user defined flags for file). On other \UNIX{} systems (such as FreeBSD), the following attributes -may be available (but may be only filled out of root tries to -use them: +may be available (but may be only filled out if root tries to +use them): \member{st_gen} (file generation number), \member{st_birthtime} (time of file creation). @@ -1069,9 +1069,9 @@ \begin{funcdesc}{stat_float_times}{\optional{newvalue}} Determine whether \class{stat_result} represents time stamps as float -objects. If newval is True, future calls to stat() return floats, if -it is False, future calls return ints. If newval is omitted, return -the current setting. +objects. If \var{newval} is \code{True}, future calls to +\function{stat()} return floats, if it is \code{False}, future calls +return ints. If \var{newval} is omitted, return the current setting. For compatibility with older Python versions, accessing \class{stat_result} as a tuple always returns integers. @@ -1220,13 +1220,13 @@ about directories the caller creates or renames before it resumes \function{walk()} again. Modifying \var{dirnames} when \var{topdown} is false is ineffective, because in bottom-up mode the directories in -\var{dirnames} are generated before \var{dirnames} itself is generated. +\var{dirnames} are generated before \var{dirpath} itself is generated. By default errors from the \code{os.listdir()} call are ignored. If optional argument \var{onerror} is specified, it should be a function; -it will be called with one argument, an os.error instance. It can -report the error to continue with the walk, or raise the exception -to abort the walk. Note that the filename is available as the +it will be called with one argument, an \exception{OSError} instance. +It can report the error to continue with the walk, or raise the +exception to abort the walk. Note that the filename is available as the \code{filename} attribute of the exception object. \begin{notice}