mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
cast to getter
This commit is contained in:
parent
06ee020961
commit
f22913b8c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue