]> granicus.if.org Git - python/commitdiff
Add some periods to the ends of a couple comments
authorBrett Cannon <brett@python.org>
Fri, 13 Mar 2015 15:13:20 +0000 (11:13 -0400)
committerBrett Cannon <brett@python.org>
Fri, 13 Mar 2015 15:13:20 +0000 (11:13 -0400)
Lib/zipapp.py

index 3b8f9bfa35c139a0458471f31157a2f439b052b4..c01c4ca8a1e927b3a3ce2c7cc3997933f494fcc9 100644 (file)
@@ -96,7 +96,7 @@ def create_archive(source, target=None, interpreter=None, main=None):
         _copy_archive(source, target, interpreter)
         return
 
-    # We are creating a new archive from a directory
+    # We are creating a new archive from a directory.
     has_main = os.path.exists(os.path.join(source, '__main__.py'))
     if main and has_main:
         raise ZipAppError(
@@ -106,7 +106,7 @@ def create_archive(source, target=None, interpreter=None, main=None):
 
     main_py = None
     if main:
-        # Check that main has the right format
+        # Check that main has the right format.
         mod, sep, fn = main.partition(':')
         mod_ok = all(part.isidentifier() for part in mod.split('.'))
         fn_ok = all(part.isidentifier() for part in fn.split('.'))