mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Added missing setselftype method to ManualGenerator
This commit is contained in:
parent
ae12e19409
commit
80adc227d2
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue