mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
* 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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue