summaryrefslogtreecommitdiffstats
path: root/Modules/regexmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-10 22:33:55 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-10 22:33:55 (GMT)
commit789a1613a08d6d6891a40ca1800eaba217eea6bf (patch)
treee99793dc64d5f5d88f0643c13543b209effe06b3 /Modules/regexmodule.c
parent6263d5451cd874edc05ef87c9d978a3190e65b28 (diff)
downloadcpython-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 'Modules/regexmodule.c')
0 files changed, 0 insertions, 0 deletions