cpython/Tools/modulator/Templates/object_tp_getattr

10 lines
196 B
Plaintext
Raw Normal View History

1995-03-02 14:05:29 +00:00
static PyObject *
1995-03-02 14:05:29 +00:00
$abbrev$_getattr(self, name)
$abbrev$object *self;
char *name;
{
/* XXXX Add your own getattr code here */
return Py_FindMethod($abbrev$_methods, (PyObject *)self, name);
1995-03-02 14:05:29 +00:00
}