Added READONLY specifier to data members.
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
index 64e3518..d522d70 100644
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -76,8 +76,8 @@
#define OFF(x) offsetof(funcobject, x)
static struct memberlist func_memberlist[] = {
- {"func_code", T_OBJECT, OFF(func_code)},
- {"func_globals",T_OBJECT, OFF(func_globals)},
+ {"func_code", T_OBJECT, OFF(func_code), READONLY},
+ {"func_globals",T_OBJECT, OFF(func_globals), READONLY},
{NULL} /* Sentinel */
};