Get the name of the superlcass?

Jürgen Hermann jhe at webde-ag.de
Thu Jul 20 04:07:32 EDT 2000


"Thomas Weholt" <thomas at cintra.no> schrieb im Newsbeitrag
news:39779f54.3806062 at news.online.no...
> Ex. I got a class Structure, and a sublcass Building. I want to check
> in a list for structures, then see if any of them are buildings.

if isinstance(UncleTomsHut, Building): ...





More information about the Python-list mailing list