Fredrik Lundh schrieb:
> Jonathan Daugherty wrote_
> 
>> # In Python, you would simply call the functions you need. No need to
>> # make things that rigidly defined.
>>
>> Except when you need to handle exceptions when those methods don't
>> exist.  I think interfaces can definitely be useful.
> 
> so with interfaces, missing methods will suddenly appear out of thin
> air ?

He probably means that with interfaces one could test compliance with
the interface as a whole instead of testing each member and each
signature as a single piece.

Peter Maas, Aachen
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to