cpython/Tools/modulator/Templates/object_tp_setattr

10 lines
200 B
Plaintext
Raw Normal View History

1995-03-02 14:05:29 +00:00
static int
$abbrev$_setattr($abbrev$object *self, char *name, PyObject *v)
1995-03-02 14:05:29 +00:00
{
1995-10-23 13:52:52 +00:00
/* Set attribute 'name' to value 'v'. v==NULL means delete */
1995-03-02 14:05:29 +00:00
/* XXXX Add your own setattr code here */
return -1;
}