mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Ran 2to3 over scripts directory.
This commit is contained in:
parent
d11ae5d6ec
commit
8efadf5d66
19 changed files with 74 additions and 86 deletions
|
@ -195,7 +195,7 @@ def raw_input(prompt):
|
|||
def okay(prompt, answer='ask'):
|
||||
answer = answer.strip().lower()
|
||||
if not answer or answer[0] not in 'ny':
|
||||
answer = raw_input(prompt)
|
||||
answer = input(prompt)
|
||||
answer = answer.strip().lower()
|
||||
if not answer:
|
||||
answer = default_answer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue