]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Two new methods
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 20 Jun 1995 12:42:39 +0000 (12:42 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 20 Jun 1995 12:42:39 +0000 (12:42 +0000)
Tools/modulator/Templates/object_tp_call [new file with mode: 0644]
Tools/modulator/Templates/object_tp_str [new file with mode: 0644]

diff --git a/Tools/modulator/Templates/object_tp_call b/Tools/modulator/Templates/object_tp_call
new file mode 100644 (file)
index 0000000..32a3615
--- /dev/null
@@ -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 (file)
index 0000000..bed15df
--- /dev/null
@@ -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;
+}
+