[Python-checkins] python/dist/src/Doc/lib libos.tex,1.119,1.120

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Fri, 25 Apr 2003 07:50:10 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv16045

Modified Files:
	libos.tex 
Log Message:
markup adjustments


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.119
retrieving revision 1.120
diff -C2 -d -r1.119 -r1.120
*** libos.tex	25 Apr 2003 07:11:47 -0000	1.119
--- libos.tex	25 Apr 2003 14:50:06 -0000	1.120
***************
*** 1051,1058 ****
  \end{funcdesc}
  
! \begin{funcdesc}{walk}{top\optional{, topdown=True}}
  \index{directory!walking}
  \index{directory!traversal}
- 
  \function{walk()} generates the file names in a directory tree.
  For each directory in the tree rooted at directory \var{top} (including
--- 1051,1057 ----
  \end{funcdesc}
  
! \begin{funcdesc}{walk}{top\optional{, topdown\code{=True}}}
  \index{directory!walking}
  \index{directory!traversal}
  \function{walk()} generates the file names in a directory tree.
  For each directory in the tree rooted at directory \var{top} (including
***************
*** 1065,1069 ****
  the names of the non-directory files in \var{dirpath}.  Note that the
  names in the lists contain no path components.  To get a full
! path (which begins with \var{top)) to a file or directory in
  \var{dirpath}, do \code{os.path.join(\var{dirpath}, \var{name})}.
  
--- 1064,1068 ----
  the names of the non-directory files in \var{dirpath}.  Note that the
  names in the lists contain no path components.  To get a full
! path (which begins with \var{top}) to a file or directory in
  \var{dirpath}, do \code{os.path.join(\var{dirpath}, \var{name})}.
  
***************
*** 1086,1090 ****
  \begin{notice}
  If you pass a relative pathname, don't change the current working
! directory between resumptions of \function{walk}.  \function{walk}
  never changes the current directory, and assumes that its caller
  doesn't either.
--- 1085,1089 ----
  \begin{notice}
  If you pass a relative pathname, don't change the current working
! directory between resumptions of \function{walk()}.  \function{walk()}
  never changes the current directory, and assumes that its caller
  doesn't either.
***************
*** 1096,1100 ****
  (infinite loops are hard to avoid when following symbolic links).
  To visit linked directories, you can identify them with
! \code{os.path.islink(\var{path})}, and invoke \function{walk(\var{path})}
  on each directly.
  \end{notice}
--- 1095,1099 ----
  (infinite loops are hard to avoid when following symbolic links).
  To visit linked directories, you can identify them with
! \code{os.path.islink(\var{path})}, and invoke \code{walk(\var{path})}
  on each directly.
  \end{notice}