PEP 245: Python interfaces

Martin von Loewis loewis at informatik.hu-berlin.de
Thu Mar 29 02:03:08 EST 2001


Michel Pelletier <michel at digicool.com> writes:

> Because that expression list defines inheritance, and interfaces are not
> inherited.  

That depends on your viewpoint. I'd, it defines subtyping, i.e. an
is-a relationship. An object implementing foo certainly is-a foo.

Regards,
Martin



More information about the Python-list mailing list