mirror of
https://github.com/python/cpython.git
synced 2025-07-29 22:24:49 +00:00

- Converted the templates to use ANSI C prototypes (finally!) - Use re in stead of deprecated regex
9 lines
200 B
Text
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;
|
|
}
|