Class equivalence?

Bruce Eckel Bruce at EckelObjects.com
Thu Dec 6 14:49:54 EST 2001


>>> class Flower: pass
>>> class Daisy(Flower): pass
>>> Daisy is Flower
0

What am I missing here?

Most current information can be found at:
http://www.mindview.net/Etc/notes.html
===================
Bruce Eckel    http://www.BruceEckel.com
Contains free electronic books: "Thinking in Java 2e" & "Thinking
in C++ 2e"
Please subscribe to my free newsletter -- just send any email to:
join-eckel-oo-programming at earth.lyris.net
My schedule can be found at:
http://www.mindview.net/Calendar
===================






More information about the Python-list mailing list