diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-20 12:42:39 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-20 12:42:39 (GMT) |
commit | 8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965 (patch) | |
tree | f613eb0f00268e232ca1f9ada954020580e46d50 /Tools/modulator | |
parent | 5214a2977463e7dd04a843467bb5f52c0d9067ea (diff) | |
download | cpython-8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965.zip cpython-8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965.tar.gz cpython-8d2033f08b99fc4c46c0eb0b5de5cf8d2a8c7965.tar.bz2 |
Two new methods
Diffstat (limited to 'Tools/modulator')
-rw-r--r-- | Tools/modulator/Templates/object_tp_call | 9 | ||||
-rw-r--r-- | Tools/modulator/Templates/object_tp_str | 11 |
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; +} + |