[Python-checkins] cpython: Fix a variable typo by switching to a f-string.
brett.cannon
python-checkins at python.org
Mon Oct 26 20:11:12 EDT 2015
https://hg.python.org/cpython/rev/8828d7847e92
changeset: 98864:8828d7847e92
user: Brett Cannon <brett at python.org>
date: Mon Oct 26 17:11:04 2015 -0700
summary:
Fix a variable typo by switching to a f-string.
files:
Tools/scripts/pyvenv | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Tools/scripts/pyvenv b/Tools/scripts/pyvenv
--- a/Tools/scripts/pyvenv
+++ b/Tools/scripts/pyvenv
@@ -5,7 +5,7 @@
executable = pathlib.Path(sys.executable or 'python3').name
print('WARNING: the pyenv script is deprecated in favour of '
- '`{} -m venv`'.format(exeutable), file=sys.stderr)
+ f'`{executable} -m venv`', file=sys.stderr)
rc = 1
try:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list