~pythonregexp2.7/python/issue2636-01+09-01-01

« back to all changes in this revision

Viewing changes to Doc/library/compileall.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:02:12 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922000212-7r0q4f4ugiq57jph
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
allowing users without permission to write to the libraries to take advantage of
12
12
cached byte-code files.
13
13
 
14
 
The source file for this module may also be used as a script to compile Python
15
 
sources in directories named on the command line or in ``sys.path``.
 
14
This module may also be used as a script (using the :option:`-m` Python flag) to
 
15
compile Python sources.  Directories to recursively traverse (passing
 
16
:option:`-l` stops the recursive behavior) for sources are listed on the command
 
17
line.  If no arguments are given, the invocation is equivalent to ``-l
 
18
sys.path``.  Printing lists of the files compiled can be disabled with the
 
19
:option:`-q` flag.  In addition, the :option:`-x` option takes a regular
 
20
expression argument.  All files that match the expression will be skipped.
16
21
 
17
22
 
18
23
.. function:: compile_dir(dir[, maxlevels[, ddir[, force[,  rx[, quiet]]]]])