commit | fb3deec2fc81a4bf7e16ddbaa8271005524ab1b0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 08 17:16:09 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 08 17:16:09 2002 +0000 |
tree | b6134f5996ac0be48abd9433f5db5ffee8e6dcd5 | |
parent | de7cadec54f6c67f65c35df8b5df5233ab9eb97c [diff] |
Another refactoring of read() and readline(), this time based on the observation that _rbuf could never have more than one string in it. So make _rbuf a string. The code branches for size<0 and size>=0 are completely separate now, both in read() and in readline(). I checked for tabs this time. :-)