Commit d7f277ee authored by Gustavo Niemeyer's avatar Gustavo Niemeyer

* 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.
parent 0613ba12
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment