summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-10-28 14:39:47 (GMT)
committerFred Drake <fdrake@acm.org>2005-10-28 14:39:47 (GMT)
commitdb390c1ad8e2c8049e1d0d3828a979c75d1621b9 (patch)
tree110d3485f390abc738015ff6eb071a310febe856 /Lib/pydoc.py
parentf3396542806e9c6d1dfafda5d1e53296d3d1af09 (diff)
downloadcpython-db390c1ad8e2c8049e1d0d3828a979c75d1621b9.zip
cpython-db390c1ad8e2c8049e1d0d3828a979c75d1621b9.tar.gz
cpython-db390c1ad8e2c8049e1d0d3828a979c75d1621b9.tar.bz2
fix typos, mostly in comments
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 5d16fa5..5bc9249 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -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.