diff options
author | Ka-Ping Yee <ping@zesty.ca> | 2001-04-10 12:22:01 (GMT) |
---|---|---|
committer | Ka-Ping Yee <ping@zesty.ca> | 2001-04-10 12:22:01 (GMT) |
commit | 41763b96039e2270a9b9d01702215e4642343134 (patch) | |
tree | 0309f1daf9224f691e7c4b96443a474802e64fe4 | |
parent | 5a804edd3cacf2a790ff3c872adad22f95e7a604 (diff) | |
download | cpython-41763b96039e2270a9b9d01702215e4642343134.zip cpython-41763b96039e2270a9b9d01702215e4642343134.tar.gz cpython-41763b96039e2270a9b9d01702215e4642343134.tar.bz2 |
Fix typo in instantiation of ErrorDuringImport.
-rwxr-xr-x | Lib/pydoc.py | 2 |
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:]: |