Superclasses

Joshua C. Marshall jayantha at ccs.neu.edu
Thu Feb 17 18:30:52 CET 2000


Given a class object, is there a way to get at its superclass object?  I'm
looking for something like:

  class A: pass

  class B(A): pass

  B.__superclass__ == A  # where this is true

Please CC jayantha at ccs.neu.edu




More information about the Python-list mailing list