diff options
author | Guido van Rossum <guido@python.org> | 1997-05-10 22:33:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-10 22:33:55 (GMT) |
commit | 789a1613a08d6d6891a40ca1800eaba217eea6bf (patch) | |
tree | e99793dc64d5f5d88f0643c13543b209effe06b3 /Mac/Lib | |
parent | 6263d5451cd874edc05ef87c9d978a3190e65b28 (diff) | |
download | cpython-789a1613a08d6d6891a40ca1800eaba217eea6bf.zip cpython-789a1613a08d6d6891a40ca1800eaba217eea6bf.tar.gz cpython-789a1613a08d6d6891a40ca1800eaba217eea6bf.tar.bz2 |
Add optional 'sizehint' argument to readlines(). After approximately
this many bytes have been read, readlines stops. Because of
buffering, the amount of bytes read is usually at least 8K more than
the hint.
Also changed read() and readline() to use PyArg_ParseTuple().
(Note that the *previous* checkin also fixed error handling and
narrowed the range of thread unblocking for all methods using
fread().)
Diffstat (limited to 'Mac/Lib')
0 files changed, 0 insertions, 0 deletions