commit | 5baf4bc97863dc2a5e89ca22ac73bdbf34dff925 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 29 20:05:45 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 29 20:05:45 1997 +0000 |
tree | 84ea193a102dd2e68d067f4225fd015b23fe1303 | |
parent | 588f38ec2acf8b912bac65167f9e4507e9907767 [diff] |
Moved things around a bit in interact(), so outout is processed before input. When an EOF is read, break out of the loop instead of (by default) writing an empty line (which doesn't do much good). Don't close self when falling through the loop.