Nicholas Clark <[EMAIL PROTECTED]> wrote:

>=item C<DYNSUPER(a,b,c)>

Another note: we might as well create a C<super> vtable call as well. We
need some such (and an opcode) anyway for HLL objects.

How could/should that beast look like?

$ python
>>> help(super)
class super(object)
 |  super(type) -> unbound super object
 |  super(type, obj) -> bound super object; requires isinstance(obj, type)
 |  super(type, type2) -> bound super object; requires issubclass(type2, type)
 |  Typical use to call a cooperative superclass method:
 |  class C(B):
 |      def meth(self, arg):
 |          super(C, self).meth(arg)

> Nicholas Clark

leo

Reply via email to