smintz / starlarkobject

0 stars 0 forks source link

Support `super()` calling. #3

Open smintz opened 1 year ago

smintz commented 1 year ago

When an object overrides a function and needs to call the super function, we need to find the right way to do so.

smintz commented 1 year ago

This was handled by #8. Needs to be documented: The super starlark.Value is accessible as self.super. if we need to initialize it as part of __init__ we can call self.super = self.super(*args, **kwargs).