https://github.com/python/cpython/commit/0063f5f314350ad5122a86f31df65f5dff4f4e5c
commit: 0063f5f314350ad5122a86f31df65f5dff4f4e5c
branch: main
author: Filipe Laíns 🇵🇸 <[email protected]>
committer: FFY00 <[email protected]>
date: 2024-11-18T23:50:01Z
summary:
getpath: fix warning typo (#126978)
files:
M Modules/getpath.py
diff --git a/Modules/getpath.py b/Modules/getpath.py
index 1f1bfcb4f64dd4..1c1eb6cbf3ee22 100644
--- a/Modules/getpath.py
+++ b/Modules/getpath.py
@@ -420,7 +420,7 @@ def search_up(prefix, *landmarks, test=isfile):
# 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]