@@ -163,15 +163,17 @@ ste_new(struct symtable *st, identifier name, _Py_block_ty block,
163163}
164164165165staticPyObject*
166-ste_repr(PySTEntryObject*ste)
166+ste_repr(PyObject*op)
167167{
168+PySTEntryObject*ste= (PySTEntryObject*)op;
168169returnPyUnicode_FromFormat("<symtable entry %U(%R), line %d>",
169170ste->ste_name, ste->ste_id, ste->ste_loc.lineno);
170171}
171172172173staticvoid
173-ste_dealloc(PySTEntryObject*ste)
174+ste_dealloc(PyObject*op)
174175{
176+PySTEntryObject*ste= (PySTEntryObject*)op;
175177ste->ste_table=NULL;
176178Py_XDECREF(ste->ste_id);
177179Py_XDECREF(ste->ste_name);
@@ -203,12 +205,12 @@ PyTypeObject PySTEntry_Type = {
203205"symtable entry",
204206sizeof(PySTEntryObject),
2052070,
206-(destructor)ste_dealloc, /* tp_dealloc */
207-0, /* tp_vectorcall_offset */
208-0, /* tp_getattr */
208+ste_dealloc,/* tp_dealloc */
209+0, /* tp_vectorcall_offset */
210+0, /* tp_getattr */
2092110, /* tp_setattr */
2102120, /* tp_as_async */
211-(reprfunc)ste_repr, /* tp_repr */
213+ste_repr,/* tp_repr */
2122140, /* tp_as_number */
2132150, /* tp_as_sequence */
2142160, /* tp_as_mapping */