Skip Montanaro <[email protected]> writes:
> underlying = getattr(SomeOtherClass, a)
> def _meth(self, *args):
> return underlying(self._instance, *args)
Does
underlying = getattr(SomeOtherClass, a)
def _meth(self, *args, _underlying=underlying):
return _underlying(self._instance, *args)
help?
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected] | -- Fortunato Depero, 1929.
--
https://mail.python.org/mailman/listinfo/python-list