diff options
author | Brett Cannon <brett@python.org> | 2015-03-13 15:13:20 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-03-13 15:13:20 (GMT) |
commit | 469d0fbdd3efeec2bcf82f26c506c65556af24ce (patch) | |
tree | 8b0f987161109fc4e93900943028cc1df750dd63 | |
parent | 64e4f7f96d4d278802f3a9658cf396ddc39b291e (diff) | |
download | cpython-469d0fbdd3efeec2bcf82f26c506c65556af24ce.zip cpython-469d0fbdd3efeec2bcf82f26c506c65556af24ce.tar.gz cpython-469d0fbdd3efeec2bcf82f26c506c65556af24ce.tar.bz2 |
Add some periods to the ends of a couple comments
-rw-r--r-- | Lib/zipapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/zipapp.py b/Lib/zipapp.py index 3b8f9bf..c01c4ca 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('.')) |