[Python-checkins] cpython: Issue #25154: Make the file argument apply to the print function and

brett.cannon python-checkins at python.org
Sun Oct 25 20:40:37 EDT 2015


https://hg.python.org/cpython/rev/7a5f8418b4ab
changeset:   98859:7a5f8418b4ab
user:        Brett Cannon <brett at python.org>
date:        Sun Oct 25 17:40:31 2015 -0700
summary:
  Issue #25154: Make the file argument apply to the print function and
not str.format call.

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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list