* 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:
Gustavo Niemeyer 2002-12-17 17:48:00 +00:00
parent 529a505da4
commit a080be8b63

View File

@ -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;
}
}