mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typo in instantiation of ErrorDuringImport.
This commit is contained in:
parent
5a804edd3c
commit
41763b9603
1 changed files with 1 additions and 1 deletions
|
@ -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:]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue