summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKa-Ping Yee <ping@zesty.ca>2001-04-10 12:22:01 (GMT)
committerKa-Ping Yee <ping@zesty.ca>2001-04-10 12:22:01 (GMT)
commit41763b96039e2270a9b9d01702215e4642343134 (patch)
tree0309f1daf9224f691e7c4b96443a474802e64fe4
parent5a804edd3cacf2a790ff3c872adad22f95e7a604 (diff)
downloadcpython-41763b96039e2270a9b9d01702215e4642343134.zip
cpython-41763b96039e2270a9b9d01702215e4642343134.tar.gz
cpython-41763b96039e2270a9b9d01702215e4642343134.tar.bz2
Fix typo in instantiation of ErrorDuringImport.
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index ece8f96..2fab0dd 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -1069,7 +1069,7 @@ def locate(path):
continue
else:
# Some other error occurred before executing the module.
- raise ErrorDuringImport(filename, sys.exc_info())
+ raise ErrorDuringImport(path, sys.exc_info())
try:
x = module
for p in parts[n:]: