summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-20 12:42:39 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-20 12:42:39 (GMT)
commit8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965 (patch)
treef613eb0f00268e232ca1f9ada954020580e46d50 /Tools/modulator/Templates
parent5214a2977463e7dd04a843467bb5f52c0d9067ea (diff)
downloadcpython-8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965.zip
cpython-8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965.tar.gz
cpython-8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965.tar.bz2
Two new methods
Diffstat (limited to 'Tools/modulator/Templates')
-rw-r--r--Tools/modulator/Templates/object_tp_call9
-rw-r--r--Tools/modulator/Templates/object_tp_str11
2 files changed, 20 insertions, 0 deletions
diff --git a/Tools/modulator/Templates/object_tp_call b/Tools/modulator/Templates/object_tp_call
new file mode 100644
index 0000000..32a3615
--- /dev/null
+++ b/Tools/modulator/Templates/object_tp_call
@@ -0,0 +1,9 @@
+
+static PyObject *
+$abbrev$_call(self, args)
+ $abbrev$object *self;
+ PyObject *args;
+{
+ /* XXXX Return the result of calling self with argument args */
+}
+
diff --git a/Tools/modulator/Templates/object_tp_str b/Tools/modulator/Templates/object_tp_str
new file mode 100644
index 0000000..bed15df
--- /dev/null
+++ b/Tools/modulator/Templates/object_tp_str
@@ -0,0 +1,11 @@
+
+static PyObject *
+$abbrev$_str(self)
+ $abbrev$object *self;
+{
+ PyObject *s;
+
+ /* XXXX Add code here to put self into s */
+ return s;
+}
+