cpython/Tools/modulator/Templates/object_tp_setattr

13 lines
218 B
Plaintext

static int
$abbrev$_setattr(self, name, v)
$abbrev$object *self;
char *name;
PyObject *v;
{
/* Set attribute 'name' to value 'v'. v==NULL means delete */
/* XXXX Add your own setattr code here */
return -1;
}