summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libglob.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-12-29 15:55:10 (GMT)
committerFred Drake <fdrake@acm.org>1997-12-29 15:55:10 (GMT)
commit45c9df6636778cd7d58e90190302b4d1ca0bb8e3 (patch)
tree0d60338d6462bc6f26ae01f7461ffcd5e7c26f65 /Doc/lib/libglob.tex
parentd499004860fc74cd95f40b786133229f1d0550bf (diff)
downloadcpython-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/lib/libglob.tex')
-rw-r--r--Doc/lib/libglob.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libglob.tex b/Doc/lib/libglob.tex
index b63d153..3f21b39 100644
--- a/Doc/lib/libglob.tex
+++ b/Doc/lib/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