diff options
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r-- | gdb/python/py-frame.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 12a54e8cb2d..8a31eae4a44 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -662,8 +662,7 @@ Return the value of the variable in this frame." }, }; PyTypeObject frame_object_type = { - PyObject_HEAD_INIT (NULL) - 0, /* ob_size */ + PyVarObject_HEAD_INIT (NULL, 0) "gdb.Frame", /* tp_name */ sizeof (frame_object), /* tp_basicsize */ 0, /* tp_itemsize */ |