mirror of
https://github.com/python/cpython.git
synced 2024-11-29 12:54:02 +08:00
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
Block a user