From: Filipe Laíns 🇵🇸 Date: Mon, 18 Nov 2024 23:50:01 +0000 (+0000) Subject: getpath: fix warning typo (#126978) X-Git-Tag: v3.14.0a2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0063f5f314350ad5122a86f31df65f5dff4f4e5c;p=thirdparty%2FPython%2Fcpython.git getpath: fix warning typo (#126978) --- diff --git a/Modules/getpath.py b/Modules/getpath.py index 1f1bfcb4f64d..1c1eb6cbf3ee 100644 --- a/Modules/getpath.py +++ b/Modules/getpath.py @@ -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