summaryrefslogtreecommitdiffstats
path: root/Tools/bgen
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-18 20:08:28 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-18 20:08:28 (GMT)
commit80adc227d2d0a1854685e8ed5e3c273cc39fcd8b (patch)
treedfd273becb1327bd1d047e405f8b3d79c061b663 /Tools/bgen
parentae12e19409b3dbaaea7b989735b02099e5d73fb4 (diff)
downloadcpython-80adc227d2d0a1854685e8ed5e3c273cc39fcd8b.zip
cpython-80adc227d2d0a1854685e8ed5e3c273cc39fcd8b.tar.gz
cpython-80adc227d2d0a1854685e8ed5e3c273cc39fcd8b.tar.bz2
Added missing setselftype method to ManualGenerator
Diffstat (limited to 'Tools/bgen')
-rw-r--r--Tools/bgen/bgen/bgenGenerator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/bgen/bgen/bgenGenerator.py b/Tools/bgen/bgen/bgenGenerator.py
index 9ac6dd1..b5bd2c6 100644
--- a/Tools/bgen/bgen/bgenGenerator.py
+++ b/Tools/bgen/bgen/bgenGenerator.py
@@ -79,6 +79,10 @@ class ManualGenerator(BaseFunctionGenerator):
def functionbody(self):
Output("%s", self.body)
+
+ def setselftype(self, selftype, itselftype):
+ self.objecttype = selftype
+ self.itselftype = itselftype
class FunctionGenerator(BaseFunctionGenerator):