Kaydet (Commit) 413d7b4f authored tarafından Éric Araujo's avatar Éric Araujo

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

üst d699255b
...@@ -62,9 +62,12 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, ...@@ -62,9 +62,12 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None,
success = 0 success = 0
return success 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): legacy=False, optimize=-1):
"""Byte-compile file. """Byte-compile one file.
Arguments (only fullname is required):
fullname: the file to byte-compile fullname: the file to byte-compile
ddir: if given, the directory name compiled in to the ddir: if given, the directory name compiled in to the
byte-code file. byte-code file.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment