Does Python support interfaces?
Randall Parker
rgparker at west.net
Mon Jul 17 21:08:03 EDT 2000
I'm quite new to Python. For those who are familiar with Java interfaces:
Does Python have a similar facility?
Can one declare interfaces, then declare that a class implements some
interface, instantiate an object of that class type, and then cast it to
an interface that it is declared to support and then pass it around as a
reference to that interface type and make calls to methods of that
interface type?
More information about the Python-list
mailing list