* 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.
This commit is contained in:
parent
529a505da4
commit
a080be8b63
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue