rest25/library/py_compile.rst => rest262/library/py_compile.rst
n1- 
2:mod:`py_compile` --- Compile Python source files
3=================================================
4
5.. module:: py_compile
n6- 
n5+   :synopsis: Generate byte-code files from Python source files.
7- 
6+.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
8-.. % Documentation based on module docstrings, by Fred L. Drake, Jr.
7+.. documentation based on module docstrings
9-.. % <fdrake@acm.org>
10- 
11- 
12
13.. index:: pair: file; byte-code
14
15The :mod:`py_compile` module provides a function to generate a byte-code file
16from a source file, and another function used when the module source file is
17invoked as a script.
18
19Though not often needed, this function can be useful when installing modules for
41.. function:: main([args])
42
43   Compile several source files.  The files named in *args* (or on the command
44   line, if *args* is not specified) are compiled and the resulting bytecode is
45   cached in the normal manner.  This function does not search a directory
46   structure to locate source files; it only compiles files named explicitly.
47
48When this module is run as a script, the :func:`main` is used to compile all the
t49-files named on the command line.
t45+files named on the command line.  The exit status is nonzero if one of the files
46+could not be compiled.
47+ 
48+.. versionchanged:: 2.6
49+   Added the nonzero exit status when module is run as a script.
50
51
52.. seealso::
53
54   Module :mod:`compileall`
55      Utilities to compile all Python source files in a directory tree.
56
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op