summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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:]: