[Python-checkins] peps: [PEP 451] Fix some typos.
eric.snow
python-checkins at python.org
Wed Oct 23 04:13:00 CEST 2013
http://hg.python.org/peps/rev/43da7eb35635
changeset: 5208:43da7eb35635
user: Eric Snow <ericsnowcurrently at gmail.com>
date: Tue Oct 22 20:09:07 2013 -0600
summary:
[PEP 451] Fix some typos.
files:
pep-0451.txt | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/pep-0451.txt b/pep-0451.txt
--- a/pep-0451.txt
+++ b/pep-0451.txt
@@ -164,7 +164,7 @@
with Python 3.1, now exposes a pure Python implementation of the APIs
described by PEP 302, as well as of the full import system. It is now
much easier to understand and extend the import system. While a benefit
-to the Python community, this greater accessibilty also presents a
+to the Python community, this greater accessabilty also presents a
challenge.
As more developers come to understand and customize the import system,
@@ -188,7 +188,7 @@
though the import-related information about a module is likely available
without loading the module, it is not otherwise exposed.
-Furthermore, the requirements assocated with load_module() are
+Furthermore, the requirements associated with load_module() are
common to all loaders and mostly are implemented in exactly the same
way. This means every loader has to duplicate the same boilerplate
code. importlib.util provides some tools that help with this, but
@@ -545,7 +545,8 @@
"has_location" may be implied from the existence of a load_data() method
on the loader.
-Incidently, not all locatable modules will be cachable, but most will.
+Incidentally, not all locatable modules will be cache-able, but most
+will.
**submodule_search_locations**
@@ -587,7 +588,7 @@
not passed in.
* "loader" can be deduced from suffix if the location is a filename.
* "submodule_search_locations" can be deduced from loader.is_package()
- and from os.path.dirname(location) if locatin is a filename.
+ and from os.path.dirname(location) if location is a filename.
**from_loader(name, loader, \*, origin=None, is_package=None)**
@@ -596,7 +597,7 @@
* "has_location" can be deduced from loader.get_data.
* "origin" can be deduced from loader.get_filename().
* "submodule_search_locations" can be deduced from loader.is_package()
- and from os.path.dirname(location) if locatin is a filename.
+ and from os.path.dirname(location) if location is a filename.
**spec_from_module(module, loader=None)**
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list