fix typos, mostly in comments

This commit is contained in:
Fred Drake 2005-10-28 14:39:47 +00:00
parent f339654280
commit db390c1ad8
10 changed files with 14 additions and 13 deletions

View file

@ -273,7 +273,7 @@ def safeimport(path, forceload=0, cache={}):
# Did the error occur before or after the module was found?
(exc, value, tb) = info = sys.exc_info()
if path in sys.modules:
# An error occured while executing the imported module.
# An error occurred while executing the imported module.
raise ErrorDuringImport(sys.modules[path].__file__, info)
elif exc is SyntaxError:
# A SyntaxError occurred before we could execute the module.