cast to getter
This commit is contained in:
parent
06ee020961
commit
f22913b8c3
|
@ -704,7 +704,7 @@ static PyMethodDef iobase_methods[] = {
|
|||
};
|
||||
|
||||
static PyGetSetDef iobase_getset[] = {
|
||||
{"__dict__", iobase_get_dict, NULL, NULL},
|
||||
{"__dict__", (getter)iobase_get_dict, NULL, NULL},
|
||||
{"closed", (getter)iobase_closed_get, NULL, NULL},
|
||||
{NULL}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue