diff options
author | Fred Drake <fdrake@acm.org> | 1997-12-29 15:55:10 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1997-12-29 15:55:10 (GMT) |
commit | 45c9df6636778cd7d58e90190302b4d1ca0bb8e3 (patch) | |
tree | 0d60338d6462bc6f26ae01f7461ffcd5e7c26f65 /Doc/libglob.tex | |
parent | d499004860fc74cd95f40b786133229f1d0550bf (diff) | |
download | cpython-45c9df6636778cd7d58e90190302b4d1ca0bb8e3.zip cpython-45c9df6636778cd7d58e90190302b4d1ca0bb8e3.tar.gz cpython-45c9df6636778cd7d58e90190302b4d1ca0bb8e3.tar.bz2 |
Changed some \verb\...\ markup to the more common \code{...}. \verb\...\ is
rarely needed and should be avoided where possible since it doesn't behave
well with some processing tools (like partparse.py).
Diffstat (limited to 'Doc/libglob.tex')
-rw-r--r-- | Doc/libglob.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/libglob.tex b/Doc/libglob.tex index b63d153..3f21b39 100644 --- a/Doc/libglob.tex +++ b/Doc/libglob.tex @@ -5,8 +5,8 @@ The \code{glob} module finds all the pathnames matching a specified pattern according to the rules used by the \UNIX{} shell. No tilde -expansion is done, but \verb\*\, \verb\?\, and character ranges -expressed with \verb\[]\ will be correctly matched. This is done by +expansion is done, but \code{*}, \code{?}, and character ranges +expressed with \code{[]} will be correctly matched. This is done by using the \code{os.listdir()} and \code{fnmatch.fnmatch()} functions in concert, and not by actually invoking a subshell. (For tilde and shell variable expansion, use \code{os.path.expanduser(}) and |