[Python-checkins] cpython: Add some periods to the ends of a couple comments
brett.cannon
python-checkins at python.org
Fri Mar 13 16:13:25 CET 2015
https://hg.python.org/cpython/rev/e352f78aa012
changeset: 94981:e352f78aa012
user: Brett Cannon <brett at python.org>
date: Fri Mar 13 11:13:20 2015 -0400
summary:
Add some periods to the ends of a couple comments
files:
Lib/zipapp.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/zipapp.py b/Lib/zipapp.py
--- a/Lib/zipapp.py
+++ b/Lib/zipapp.py
@@ -96,7 +96,7 @@
_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 @@
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('.'))
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list