cast to getter

This commit is contained in:
Benjamin Peterson 2011-09-06 07:55:34 -04:00
parent 06ee020961
commit f22913b8c3
1 changed files with 1 additions and 1 deletions

View File

@ -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}
};