Skip to content

Commit 0063f5f

Browse files
authored
getpath: fix warning typo (#126978)
1 parent 4cd1076 commit 0063f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/getpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def search_up(prefix, *landmarks, test=isfile):
420420
# Only warn if the file actually exists and was unresolvable
421421
# Otherwise users who specify a fake executable may get spurious warnings.
422422
if isfile(real_executable):
423-
warn(f'Failed to find real location of {base_executable}')
423+
warn(f'Failed to find real location of {real_executable}')
424424

425425
if not executable_dir and os_name == 'darwin' and library:
426426
# QUIRK: macOS checks adjacent to its library early

0 commit comments

Comments
 (0)