super - is (should) it (be) a reserved word?

Neil Schemenauer nas at arctrix.com
Fri Oct 6 09:42:21 EDT 2000


On Fri, Oct 06, 2000 at 08:27:08PM +0000, Grant Edwards wrote:
> Personally, I would like some way to refer to _a_ superclass.

self.__class__.__bases__[0]

  Neil




More information about the Python-list mailing list