commit | ce96f69d69a6020c780145c89a17a8391b63624b | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 17 06:49:51 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 17 06:49:51 2006 +0000 |
tree | 7325a9bfaddf191e49910532df1fa4210c335196 | |
parent | 9e2b9665ae9f94a07da54156c48e2cd411a23746 [diff] [blame] |
Get rid of a bunch more raw_input references
diff --git a/Lib/site.py b/Lib/site.py index 6818e85..5e7ff7b 100644 --- a/Lib/site.py +++ b/Lib/site.py
@@ -299,7 +299,9 @@ lineno += self.MAXLINES key = None while key is None: - key = raw_input(prompt) + sys.stdout.write(prompt) + sys.stdout.flush() + key = sys.stdin.readline() if key not in ('', 'q'): key = None if key == 'q':