On Thursday 20 October 2005 03:32 am, Gerald Klix wrote:
> class AbstractBase:
>     def method(self):
>         raise NotImplementedError( "abstract method 
called" )

You should also consider using an "interface" instead
of an abstract class -- they can serve much the same
purpose.

(Search for PyProtocols or Zope to follow up on that).

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to