Are there 'Interfaces' in Python??

Paul Rubin phr-n2001 at nightsong.com
Tue Sep 25 21:50:19 EDT 2001


"tszeto" <tszeto at mindspring.com> writes:
> Was wondering if Python supported 'Interfaces' (something akin to Java
> interfaces)? Or if there's a workaround to get the same thing.

Java interfaces are a workaround for java's non-support of multiple
base classes in objects.  Python supports multiple base classes, so
it doesn't need a workaround for their absence.



More information about the Python-list mailing list