]> granicus.if.org Git - python/commitdiff
Fix a variable typo by switching to a f-string.
authorBrett Cannon <brett@python.org>
Tue, 27 Oct 2015 00:11:04 +0000 (17:11 -0700)
committerBrett Cannon <brett@python.org>
Tue, 27 Oct 2015 00:11:04 +0000 (17:11 -0700)
Tools/scripts/pyvenv

index 1eed3ff9f8218b900c161c6c4f4b47562cf2c9ab..1fb42c639132a8bae3faafc8fc62938541551596 100755 (executable)
@@ -5,7 +5,7 @@ if __name__ == '__main__':
 
     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: