few mispelling errors

This commit is contained in:
Carlos E. Garcia 2014-04-23 10:46:38 -04:00
parent 1b06c8a411
commit 52fa195d45
3 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ def with_metaclass(meta, *bases):
# breaks the __exit__ function in a very peculiar way. This is currently
# true for pypy 2.2.1 for instance. The second level of exception blocks
# is necessary because pypy seems to forget to check if an exception
# happend until the next bytecode instruction?
# happened until the next bytecode instruction?
BROKEN_PYPY_CTXMGR_EXIT = False
if hasattr(sys, 'pypy_version_info'):
class _Mgr(object):

View file

@ -662,7 +662,7 @@ def get_root_path(import_name):
'module came from an import hook that does '
'not provide file name information or because '
'it\'s a namespace package. In this case '
'the root path needs to be explictly '
'the root path needs to be explicitly '
'provided.' % import_name)
# filepath is import_name.py for a module, or __init__.py for a package.