summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-14 18:50:32 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-14 18:50:32 (GMT)
commit42c25f558168b6aebc148f35990af5de495bee08 (patch)
tree533149567eedea6ba4b4067b8c74b7cbc481d6e2 /Python/marshal.c
parente1426b61f6a200014d82877e5318f46997688f8c (diff)
downloadcpython-42c25f558168b6aebc148f35990af5de495bee08.zip
cpython-42c25f558168b6aebc148f35990af5de495bee08.tar.gz
cpython-42c25f558168b6aebc148f35990af5de495bee08.tar.bz2
Close #19260: remove outdated comment in marshal.c
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 7273e7c..f94276a 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -614,7 +614,6 @@ r_string(Py_ssize_t n, RFILE *p)
}
if (!p->readable) {
assert(p->fp != NULL);
- /* The result fits into int because it must be <=n. */
read = fread(p->buf, 1, n, p->fp);
}
else {
@@ -650,7 +649,6 @@ r_string(Py_ssize_t n, RFILE *p)
return p->buf;
}
-
static int
r_byte(RFILE *p)
{