mirror of
https://github.com/python/cpython.git
synced 2024-11-23 01:45:25 +08:00
getpath: fix warning typo (#126978)
This commit is contained in:
parent
4cd10762b0
commit
0063f5f314
@ -420,7 +420,7 @@ if real_executable:
|
||||
# Only warn if the file actually exists and was unresolvable
|
||||
# Otherwise users who specify a fake executable may get spurious warnings.
|
||||
if isfile(real_executable):
|
||||
warn(f'Failed to find real location of {base_executable}')
|
||||
warn(f'Failed to find real location of {real_executable}')
|
||||
|
||||
if not executable_dir and os_name == 'darwin' and library:
|
||||
# QUIRK: macOS checks adjacent to its library early
|
||||
|
Loading…
Reference in New Issue
Block a user