]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Moved things around a bit in interact(), so outout is processed before
authorGuido van Rossum <guido@python.org>
Mon, 29 Dec 1997 20:05:45 +0000 (20:05 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 29 Dec 1997 20:05:45 +0000 (20:05 +0000)
commit5baf4bc97863dc2a5e89ca22ac73bdbf34dff925
tree84ea193a102dd2e68d067f4225fd015b23fe1303
parent588f38ec2acf8b912bac65167f9e4507e9907767
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.
Lib/telnetlib.py