Commit 42c25f55 authored by Antoine Pitrou's avatar Antoine Pitrou

Close #19260: remove outdated comment in marshal.c

parent e1426b61
...@@ -614,7 +614,6 @@ r_string(Py_ssize_t n, RFILE *p) ...@@ -614,7 +614,6 @@ r_string(Py_ssize_t n, RFILE *p)
} }
if (!p->readable) { if (!p->readable) {
assert(p->fp != NULL); assert(p->fp != NULL);
/* The result fits into int because it must be <=n. */
read = fread(p->buf, 1, n, p->fp); read = fread(p->buf, 1, n, p->fp);
} }
else { else {
...@@ -650,7 +649,6 @@ r_string(Py_ssize_t n, RFILE *p) ...@@ -650,7 +649,6 @@ r_string(Py_ssize_t n, RFILE *p)
return p->buf; return p->buf;
} }
static int static int
r_byte(RFILE *p) r_byte(RFILE *p)
{ {
......
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