From 41763b96039e2270a9b9d01702215e4642343134 Mon Sep 17 00:00:00 2001 From: Ka-Ping Yee Date: Tue, 10 Apr 2001 12:22:01 +0000 Subject: [PATCH] Fix typo in instantiation of ErrorDuringImport. --- Lib/pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pydoc.py b/Lib/pydoc.py index ece8f9609bf..2fab0dd99d5 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:]: