From: Brett Cannon Date: Fri, 13 Mar 2015 15:13:20 +0000 (-0400) Subject: Add some periods to the ends of a couple comments X-Git-Tag: v3.5.0a3~181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=469d0fbdd3efeec2bcf82f26c506c65556af24ce;p=python Add some periods to the ends of a couple comments --- diff --git a/Lib/zipapp.py b/Lib/zipapp.py index 3b8f9bfa35..c01c4ca8a1 100644 --- a/Lib/zipapp.py +++ b/Lib/zipapp.py @@ -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('.'))