Nits: use a real boolean, make one docstring more similar to the other ones

This commit is contained in:
Éric Araujo 2010-12-23 18:44:31 +00:00
parent d699255b42
commit 413d7b4f24
1 changed files with 5 additions and 2 deletions

View File

@ -62,9 +62,12 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None,
success = 0
return success
def compile_file(fullname, ddir=None, force=0, rx=None, quiet=False,
def compile_file(fullname, ddir=None, force=False, rx=None, quiet=False,
legacy=False, optimize=-1):
"""Byte-compile file.
"""Byte-compile one file.
Arguments (only fullname is required):
fullname: the file to byte-compile
ddir: if given, the directory name compiled in to the
byte-code file.