]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added missing setselftype method to ManualGenerator
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 18 Jun 1995 20:08:28 +0000 (20:08 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 18 Jun 1995 20:08:28 +0000 (20:08 +0000)
Tools/bgen/bgen/bgenGenerator.py

index 9ac6dd1c21edbda9084b8d89541db0b79dd86853..b5bd2c6be9546ca904401e219553de59770e0fce 100644 (file)
@@ -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):