summaryrefslogtreecommitdiffstats
path: root/Modules/_bytesio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_bytesio.c')
-rw-r--r--Modules/_bytesio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_bytesio.c b/Modules/_bytesio.c
index d342838..bbbb156 100644
--- a/Modules/_bytesio.c
+++ b/Modules/_bytesio.c
@@ -445,7 +445,6 @@ bytesio_truncate(BytesIOObject *self, PyObject *args)
if (resize_buffer(self, size) < 0)
return NULL;
}
- self->pos = size;
return PyInt_FromSsize_t(size);
}