Home | History | Annotate | Download | only in _io

Lines Matching defs:closefd

70     unsigned int closefd : 1;
95 if (self->fd >= 0 && self->closefd) {
158 if (!self->closefd) {
195 self->closefd = 1;
210 closefd: int(c_default="1") = True
230 int closefd, PyObject *opener)
256 if (self->closefd) {
372 self->closefd = closefd;
375 self->closefd = 1;
376 if (!closefd) {
378 "Cannot use closefd=False with file name");
1081 "<_io.FileIO fd=%d mode='%s' closefd=%s>",
1082 self->fd, mode_string(self), self->closefd ? "True" : "False");
1086 "<_io.FileIO name=%R mode='%s' closefd=%s>",
1087 nameobj, mode_string(self), self->closefd ? "True" : "False");
1155 return PyBool_FromLong((long)(self->closefd));
1166 {"closefd", (getter)get_closefd, NULL,