mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Get rid of a bunch more raw_input references
This commit is contained in:
parent
9e2b9665ae
commit
ce96f69d69
42 changed files with 222 additions and 144 deletions
|
@ -69,8 +69,7 @@ def default_getpass(prompt='Password: '):
|
|||
|
||||
|
||||
def _raw_input(prompt=""):
|
||||
# A raw_input() replacement that doesn't save the string in the
|
||||
# GNU readline history.
|
||||
# This doesn't save the string in the GNU readline history.
|
||||
prompt = str(prompt)
|
||||
if prompt:
|
||||
sys.stdout.write(prompt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue