mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#12448: merge with 3.2.
This commit is contained in:
commit
3de134b1d1
2 changed files with 4 additions and 0 deletions
|
@ -940,6 +940,7 @@ if __name__ == '__main__':
|
|||
|
||||
def prompt(prompt):
|
||||
sys.stdout.write(prompt + ": ")
|
||||
sys.stdout.flush()
|
||||
return sys.stdin.readline().strip()
|
||||
|
||||
fromaddr = prompt("From")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue