[Python-checkins] peps: Grammar improvement.
eric.smith
python-checkins at python.org
Fri Apr 20 15:22:32 CEST 2012
http://hg.python.org/peps/rev/6d1ff6c0bc8e
changeset: 4289:6d1ff6c0bc8e
user: Eric V. Smith <eric at trueblade.com>
date: Fri Apr 20 09:22:25 2012 -0400
summary:
Grammar improvement.
files:
pep-0420.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pep-0420.txt b/pep-0420.txt
--- a/pep-0420.txt
+++ b/pep-0420.txt
@@ -55,9 +55,9 @@
invoked independent of which portion of the package gets imported
first. As a consequence, the package's ``__init__.py`` cannot
practically define any names as it depends on the order of the package
-fragments on ``sys.path`` which portion is imported first. As a
-special feature, ``extend_path`` reads files named
-``<packagename>.pkg`` which allow to declare additional portions.
+fragments on ``sys.path`` to determine which portion is imported
+first. As a special feature, ``extend_path`` reads files named
+``<packagename>.pkg`` which allows declaration of additional portions.
setuptools provides a similar function named
``pkg_resources.declare_namespace`` that is used in the form::
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list