]> granicus.if.org Git - python/commitdiff
Nits: use a real boolean, make one docstring more similar to the other ones
authorÉric Araujo <merwok@netwok.org>
Thu, 23 Dec 2010 18:44:31 +0000 (18:44 +0000)
committerÉric Araujo <merwok@netwok.org>
Thu, 23 Dec 2010 18:44:31 +0000 (18:44 +0000)
Lib/compileall.py

index 94d1c9e66cc32fe42e7f24540d49e8c8c4cf9ddc..1030d8c8f0806e83ea5f35a08f68af1c847f9fe5 100644 (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.