Kaydet (Commit) f22913b8 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

cast to getter

üst 06ee0209
...@@ -704,7 +704,7 @@ static PyMethodDef iobase_methods[] = { ...@@ -704,7 +704,7 @@ static PyMethodDef iobase_methods[] = {
}; };
static PyGetSetDef iobase_getset[] = { static PyGetSetDef iobase_getset[] = {
{"__dict__", iobase_get_dict, NULL, NULL}, {"__dict__", (getter)iobase_get_dict, NULL, NULL},
{"closed", (getter)iobase_closed_get, NULL, NULL}, {"closed", (getter)iobase_closed_get, NULL, NULL},
{NULL} {NULL}
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment