--- dist/src/Objects/cellobject.c.old 2005-03-24 20:30:13.053148344 -0700 +++ dist/src/Objects/cellobject.c 2005-03-24 20:30:24.517405512 -0700 @@ -86,6 +86,13 @@ return 0; } +static PyMethodDef cell_methods[] = { + {"value", (PyCFunction)PyCell_Get, METH_NOARGS, + "Return the value stored by the cell" + }, + {NULL} /* sentinel */ +}; + PyTypeObject PyCell_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, @@ -111,4 +118,9 @@ 0, /* tp_doc */ (traverseproc)cell_traverse, /* tp_traverse */ (inquiry)cell_clear, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0, /* tp_iter */ + 0, /* tp_iternext */ + cell_methods, /* tp_methods */ };