def to_prelude (method):
def actual (self, *args, **kwds):
prelude_method=Prelude.__dict__[method.__name__]
return prelude_method(self.prelude,*args, **kwds)
return actual
def to_prelude (method):
def actual (self, *args, **kwds):
prelude_method=Prelude.__dict__[method.__name__]
return prelude_method(self.prelude,*args, **kwds)
return actual