cpython/Tools/modulator/Templates/object_tp_setattr

13 lines
218 B
Plaintext
Raw Normal View History

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