mirror of https://github.com/python/cpython
Consistency: Don't use module name when referring to functions defined
in the same module.
This commit is contained in:
parent
2cfc835b7b
commit
5bfe4850cf
|
@ -1,7 +1,6 @@
|
||||||
\section{Standard Module \sectcode{glob}}
|
\section{Standard Module \sectcode{glob}}
|
||||||
\label{module-glob}
|
\label{module-glob}
|
||||||
\stmodindex{glob}
|
\stmodindex{glob}
|
||||||
\setindexsubitem{(in module glob)}
|
|
||||||
|
|
||||||
The \module{glob} module finds all the pathnames matching a specified
|
The \module{glob} module finds all the pathnames matching a specified
|
||||||
pattern according to the rules used by the \UNIX{} shell. No tilde
|
pattern according to the rules used by the \UNIX{} shell. No tilde
|
||||||
|
@ -21,7 +20,7 @@ which must be a string containing a path specification.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
For example, consider a directory containing only the following files:
|
For example, consider a directory containing only the following files:
|
||||||
\file{1.gif}, \file{2.txt}, and \file{card.gif}. \function{glob.glob()}
|
\file{1.gif}, \file{2.txt}, and \file{card.gif}. \function{glob()}
|
||||||
will produce the following results. Notice how any leading components
|
will produce the following results. Notice how any leading components
|
||||||
of the path are preserved.
|
of the path are preserved.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
\section{Standard Module \sectcode{glob}}
|
\section{Standard Module \sectcode{glob}}
|
||||||
\label{module-glob}
|
\label{module-glob}
|
||||||
\stmodindex{glob}
|
\stmodindex{glob}
|
||||||
\setindexsubitem{(in module glob)}
|
|
||||||
|
|
||||||
The \module{glob} module finds all the pathnames matching a specified
|
The \module{glob} module finds all the pathnames matching a specified
|
||||||
pattern according to the rules used by the \UNIX{} shell. No tilde
|
pattern according to the rules used by the \UNIX{} shell. No tilde
|
||||||
|
@ -21,7 +20,7 @@ which must be a string containing a path specification.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
For example, consider a directory containing only the following files:
|
For example, consider a directory containing only the following files:
|
||||||
\file{1.gif}, \file{2.txt}, and \file{card.gif}. \function{glob.glob()}
|
\file{1.gif}, \file{2.txt}, and \file{card.gif}. \function{glob()}
|
||||||
will produce the following results. Notice how any leading components
|
will produce the following results. Notice how any leading components
|
||||||
of the path are preserved.
|
of the path are preserved.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue