cpython/Tools/modulator/Templates/object_tp_setattr
Jack Jansen 9aaee933da Patches by Jens B. Jorgensen with small mods by me:
- Converted the templates to use ANSI C prototypes (finally!)
- Use re in stead of deprecated regex
2001-12-27 23:35:43 +00:00

9 lines
200 B
Text

static int
$abbrev$_setattr($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;
}