diff options
author | Eric V. Smith <eric@trueblade.com> | 2011-03-14 14:56:33 (GMT) |
---|---|---|
committer | Eric V. Smith <eric@trueblade.com> | 2011-03-14 14:56:33 (GMT) |
commit | 4169826a00bc786185cfce9371a3ba15157bf928 (patch) | |
tree | 6857e21c9cc6c1c9c20bc24c28acdd06b5d74cf1 /Lib | |
parent | af9be2006021783c4dcdf1918ddcd8961195aa3b (diff) | |
download | cpython-4169826a00bc786185cfce9371a3ba15157bf928.zip cpython-4169826a00bc786185cfce9371a3ba15157bf928.tar.gz cpython-4169826a00bc786185cfce9371a3ba15157bf928.tar.bz2 |
Typos.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index cd7f5d6..7710e8c 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -765,7 +765,7 @@ def _gcd_import(name, package=None, level=0): being made from, and the level adjustment. This function represents the greatest common denominator of functionality - between import_module and __import__. This includes settting __package__ if + between import_module and __import__. This includes setting __package__ if the loader did not. """ @@ -855,7 +855,7 @@ def __import__(name, globals={}, locals={}, fromlist=[], level=0): module = _gcd_import(name) else: # __package__ is not guaranteed to be defined or could be set to None - # to represent that it's proper value is unknown + # to represent that its proper value is unknown package = globals.get('__package__') if package is None: package = globals['__name__'] |