mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
This commit is contained in:
parent
8321f97891
commit
752abd0d3c
20 changed files with 53 additions and 50 deletions
|
@ -10,7 +10,7 @@ import os, sys
|
|||
|
||||
# Test that command-lines get down as we expect.
|
||||
# To do this we execute:
|
||||
# python -c "import sys;print sys.argv" {rest_of_commandline}
|
||||
# python -c "import sys;print(sys.argv)" {rest_of_commandline}
|
||||
# This results in Python being spawned and printing the sys.argv list.
|
||||
# We can then eval() the result of this, and see what each argv was.
|
||||
python = sys.executable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue