]> granicus.if.org Git - python/commitdiff
Issue #25154: Make the file argument apply to the print function and
authorBrett Cannon <brett@python.org>
Mon, 26 Oct 2015 00:40:31 +0000 (17:40 -0700)
committerBrett Cannon <brett@python.org>
Mon, 26 Oct 2015 00:40:31 +0000 (17:40 -0700)
not str.format call.

Tools/scripts/pyvenv

index 1043efcfa7d1289f182379b0fba55917e769488a..1eed3ff9f8218b900c161c6c4f4b47562cf2c9ab 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))
+          '`{} -m venv`'.format(exeutable), file=sys.stderr)
 
     rc = 1
     try: