mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +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
|
continue
|
||||||
else:
|
else:
|
||||||
# Some other error occurred before executing the module.
|
# Some other error occurred before executing the module.
|
||||||
raise ErrorDuringImport(filename, sys.exc_info())
|
raise ErrorDuringImport(path, sys.exc_info())
|
||||||
try:
|
try:
|
||||||
x = module
|
x = module
|
||||||
for p in parts[n:]:
|
for p in parts[n:]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue