Does Python support interfaces?
Eric Hopper
hopper at omnifarious.mn.org
Tue Jul 18 12:14:57 EDT 2000
In article <vndlmz0b5jp.fsf at camelot-new.ccs.neu.edu>, Justin Sheehy
<dworkin at ccs.neu.edu> wrote:
>
> Just define the class, and make sure that it provides the proper
> interface. Note that I'm not using "interface" with any special
> language-dependent meaning here. If it behaves properly, it behaves
> properly, and that is all that matters.
Whee! Inheritance by mysteriously coinciding method names is so much fun!
--
Eric Hopper (hopper at omnifarious.mn.org) (http://www.omnifarious.org/~hopper)
More information about the Python-list
mailing list