diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2009-10-05 22:32:48 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2009-10-05 22:32:48 (GMT) |
commit | b6f0128c632fa6621cfdc384ddafd6cb38219bf0 (patch) | |
tree | 5a7bb5b619cbd49d2ecc9637105c414161afeeba | |
parent | 400054e59edf7bb98bff02950abb24f4fc3e9d2d (diff) | |
download | cpython-b6f0128c632fa6621cfdc384ddafd6cb38219bf0.zip cpython-b6f0128c632fa6621cfdc384ddafd6cb38219bf0.tar.gz cpython-b6f0128c632fa6621cfdc384ddafd6cb38219bf0.tar.bz2 |
Use standard comma punctuation; reword some sentences in the docs
-rw-r--r-- | Doc/distutils/examples.rst | 8 | ||||
-rw-r--r-- | Lib/distutils/command/check.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst index d5918a5..648063b 100644 --- a/Doc/distutils/examples.rst +++ b/Doc/distutils/examples.rst @@ -236,10 +236,10 @@ With exactly the same source tree layout, this extension can be put in the Checking a package ================== -The ``check`` command allows you to verify if your package meta-data are -meeting the minimum requirements to build a distribution. +The ``check`` command allows you to verify if your package meta-data +meet the minimum requirements to build a distribution. -To run it, just call it over your :file:`setup.py` script. If something is +To run it, just call it using your :file:`setup.py` script. If something is missing, ``check`` will display a warning. Let's take an example with a simple script:: @@ -252,7 +252,7 @@ Running the ``check`` command will display some warnings:: $ python setup.py check running check - warning: check: missing required meta-data: version ,url + warning: check: missing required meta-data: version, url warning: check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) must be supplied diff --git a/Lib/distutils/command/check.py b/Lib/distutils/command/check.py index 7d56dfc..bc29baa 100644 --- a/Lib/distutils/command/check.py +++ b/Lib/distutils/command/check.py @@ -91,7 +91,7 @@ class check(Command): missing.append(attr) if missing: - self.warn("missing required meta-data: %s" % ' ,'.join(missing)) + self.warn("missing required meta-data: %s" % ', '.join(missing)) if metadata.author: if not metadata.author_email: self.warn("missing meta-data: if 'author' supplied, " + |