summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_tail
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/modulator/Templates/object_tail')
-rw-r--r--Tools/modulator/Templates/object_tail10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tools/modulator/Templates/object_tail b/Tools/modulator/Templates/object_tail
index 4803ea5..65d29d3 100644
--- a/Tools/modulator/Templates/object_tail
+++ b/Tools/modulator/Templates/object_tail
@@ -1,4 +1,8 @@
+static char $Abbrev$type__doc__[] =
+""
+;
+
static PyTypeObject $Abbrev$type = {
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
@@ -16,6 +20,12 @@ static PyTypeObject $Abbrev$type = {
$tp_as_sequence$, /*tp_as_sequence*/
$tp_as_mapping$, /*tp_as_mapping*/
(hashfunc)$tp_hash$, /*tp_hash*/
+ (binaryfunc)$tp_call$, /*tp_call*/
+ (reprfunc)$tp_str$, /*tp_str*/
+
+ /* Space for future expansion */
+ 0L,0L,0L,0L,
+ $Abbrev$type__doc__ /* Documentation string */
};
/* End of code for $name$ objects */