Skip to content

Commit db05828

Browse files
committed
Update comment
1 parent d90a253 commit db05828

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/fcntlmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg)
152152
PyBytesWriter_Discard(writer);
153153
return NULL;
154154
}
155-
// Truncate the last bytes (guard)
155+
// Truncate the trailing guard bytes
156156
return PyBytesWriter_FinishWithSize(writer, len);
157157
}
158158
#undef FCNTL_BUFSZ
@@ -349,7 +349,7 @@ fcntl_ioctl_impl(PyObject *module, int fd, unsigned long code, PyObject *arg,
349349
PyBytesWriter_Discard(writer);
350350
return NULL;
351351
}
352-
// Truncate the last bytes (guard)
352+
// Truncate the trailing guard bytes
353353
return PyBytesWriter_FinishWithSize(writer, len);
354354
}
355355
#undef IOCTL_BUFSZ

0 commit comments

Comments
 (0)