From: Brett Cannon Date: Mon, 26 Oct 2015 00:40:31 +0000 (-0700) Subject: Issue #25154: Make the file argument apply to the print function and X-Git-Tag: v3.6.0a1~1165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1c47e47514e1cf1006dc21de386af7ee25f8db5;p=thirdparty%2FPython%2Fcpython.git Issue #25154: Make the file argument apply to the print function and not str.format call. --- diff --git a/Tools/scripts/pyvenv b/Tools/scripts/pyvenv index 1043efcfa7d1..1eed3ff9f821 100755 --- a/Tools/scripts/pyvenv +++ b/Tools/scripts/pyvenv @@ -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: