mirror of
https://github.com/python/cpython.git
synced 2025-01-24 10:04:09 +08:00
Added missing setselftype method to ManualGenerator
This commit is contained in:
parent
ae12e19409
commit
80adc227d2
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user