Skip to content

Commit ad20cda

Browse files
committed
Remove comment
1 parent d69c91b commit ad20cda

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Modules/_io/bufferedio.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,8 +1394,6 @@ _io__Buffered_seek_impl(buffered *self, PyObject *targetobj, int whence)
13941394
if (target == -1 && PyErr_Occurred())
13951395
return NULL;
13961396

1397-
// PyNumber_AsOff_t calls user code via __index__, which
1398-
// could have closed the file.
13991397
CHECK_CLOSED(self, "seek of closed file")
14001398

14011399
/* SEEK_SET and SEEK_CUR are special because we could seek inside the

0 commit comments

Comments
 (0)