diff options
Diffstat (limited to 'Doc/libglob.tex')
-rw-r--r-- | Doc/libglob.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libglob.tex b/Doc/libglob.tex index 3f21b39..58193c9 100644 --- a/Doc/libglob.tex +++ b/Doc/libglob.tex @@ -1,7 +1,7 @@ \section{Standard Module \sectcode{glob}} \label{module-glob} \stmodindex{glob} -\renewcommand{\indexsubitem}{(in module glob)} +\setindexsubitem{(in module glob)} The \code{glob} module finds all the pathnames matching a specified pattern according to the rules used by the \UNIX{} shell. No tilde @@ -25,7 +25,7 @@ For example, consider a directory containing only the following files: will produce the following results. Notice how any leading components of the path are preserved. -\bcode\begin{verbatim} +\begin{verbatim} >>> import glob >>> glob.glob('./[0-9].*') ['./1.gif', './2.txt'] @@ -33,4 +33,4 @@ of the path are preserved. ['1.gif', 'card.gif'] >>> glob.glob('?.gif') ['1.gif'] -\end{verbatim}\ecode +\end{verbatim} |