summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-03-18 12:44:08 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-03-18 12:44:08 (GMT)
commit5c137c225113764faae183034e7a85175a699ae2 (patch)
tree5a3bc4dc8a3c22dd284a3824a6fb391ab672e249 /Doc
parent73f570ba08756c322c0b6fa070d89aa3c64b31c9 (diff)
downloadcpython-5c137c225113764faae183034e7a85175a699ae2.zip
cpython-5c137c225113764faae183034e7a85175a699ae2.tar.gz
cpython-5c137c225113764faae183034e7a85175a699ae2.tar.bz2
Patch #495598: add an -q (quiet) option to pycompile.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libcompileall.tex12
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/lib/libcompileall.tex b/Doc/lib/libcompileall.tex
index a731245..d39a548 100644
--- a/Doc/lib/libcompileall.tex
+++ b/Doc/lib/libcompileall.tex
@@ -17,14 +17,22 @@ compile Python sources in directories named on the command line or in
\begin{funcdesc}{compile_dir}{dir\optional{, maxlevels\optional{,
- ddir\optional{, force}}}}
+ ddir\optional{, force\optional{,
+ rx\optional{, quiet}}}}}}
Recursively descend the directory tree named by \var{dir}, compiling
all \file{.py} files along the way. The \var{maxlevels} parameter
is used to limit the depth of the recursion; it defaults to
\code{10}. If \var{ddir} is given, it is used as the base path from
which the filenames used in error messages will be generated. If
\var{force} is true, modules are re-compiled even if the timestamps
- are up to date.
+ are up to date.
+
+ If \var{rx} is given, it specifies a regular expression of file
+ names to exclude from the search; that expression is searched for in
+ the full path.
+
+ If \var{quiet} is true, nothing is printed to the standard output
+ in normal operation.
\end{funcdesc}
\begin{funcdesc}{compile_path}{\optional{skip_curdir\optional{,