summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_io/iobase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c
index 2c59d42..35c7cdd 100644
--- a/Modules/_io/iobase.c
+++ b/Modules/_io/iobase.c
@@ -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}
};