cpython/Tools/modulator/Templates/object_tp_setattr

13 lines
218 B
Plaintext
Raw Normal View History

1995-03-02 14:05:29 +00:00
static int
$abbrev$_setattr(self, name, v)
$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;
}