Lines Matching defs:closefd
66 unsigned int closefd : 1;
92 if (self->fd >= 0 && self->closefd) {
149 if (!self->closefd) {
186 self->closefd = 1;
201 closefd: bool(accept={int}) = True
221 int closefd, PyObject *opener)
247 if (self->closefd) {
367 self->closefd = closefd;
370 self->closefd = 1;
371 if (!closefd) {
373 "Cannot use closefd=False with file name");
1094 "<_io.FileIO fd=%d mode='%s' closefd=%s>",
1095 self->fd, mode_string(self), self->closefd ? "True" : "False");
1102 "<_io.FileIO name=%R mode='%s' closefd=%s>",
1103 nameobj, mode_string(self), self->closefd ? "True" : "False");
1169 return PyBool_FromLong((long)(self->closefd));
1180 {"closefd", (getter)get_closefd, NULL,