cpython/Tools/modulator/Templates/object_new

14 lines
219 B
Plaintext
Raw Normal View History

1995-03-02 14:05:29 +00:00
static $abbrev$object *
new$abbrev$object()
{
$abbrev$object *self;
self = PyObject_NEW($abbrev$object, &$Abbrev$type);
1995-03-02 14:05:29 +00:00
if (self == NULL)
return NULL;
/* XXXX Add your own initializers here */
return self;
}