Issue #25154: Make the file argument apply to the print function and

not str.format call.
This commit is contained in:
Brett Cannon 2015-10-25 17:40:31 -07:00
parent 3188f1dcba
commit f1c47e4751
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ if __name__ == '__main__':
executable = pathlib.Path(sys.executable or 'python3').name executable = pathlib.Path(sys.executable or 'python3').name
print('WARNING: the pyenv script is deprecated in favour of ' 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 rc = 1
try: try: