From: Fred Drake Date: Mon, 29 Dec 1997 15:55:10 +0000 (+0000) Subject: Changed some \verb\...\ markup to the more common \code{...}. \verb\...\ is X-Git-Tag: v1.5~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45c9df6636778cd7d58e90190302b4d1ca0bb8e3;p=python 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). --- diff --git a/Doc/lib/libglob.tex b/Doc/lib/libglob.tex index b63d153969..3f21b39e32 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 diff --git a/Doc/libglob.tex b/Doc/libglob.tex index b63d153969..3f21b39e32 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