diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2002-12-17 17:48:00 (GMT) |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2002-12-17 17:48:00 (GMT) |
commit | a080be8b63078eec95c0483b619d94ddf54c3244 (patch) | |
tree | 796ed6ab758495f5d1b86158b8f9d785a56ec390 /Objects/fileobject.c | |
parent | 529a505da4c2ffc79b598935a241a9ffe17563e5 (diff) | |
download | cpython-a080be8b63078eec95c0483b619d94ddf54c3244.zip cpython-a080be8b63078eec95c0483b619d94ddf54c3244.tar.gz cpython-a080be8b63078eec95c0483b619d94ddf54c3244.tar.bz2 |
* Objects/fileobject.c
(file_read): Replaced assertion with mixed sign operation by a simple
comment (thank you Raymond). The algorithm is clear enough in that point.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 612cefd..33fb3bc 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -809,7 +809,7 @@ file_read(PyFileObject *f, PyObject *args) if (_PyString_Resize(&v, buffersize) < 0) return NULL; } else { - assert(bytesread == bytesrequested); + /* Got what was requested. */ break; } } |