Question about subclassing - version 2
Bruno Desthuilliers
onurb at xiludom.gro
Fri Sep 8 04:15:46 EDT 2006
bearophileHUGS at lycos.com wrote:
> Frank Millman, just a short note, more expert people can give you
> better answers. There aren't abstract classes in Python.
Well... There's no "abstract" modifier at least - but there still are
abstract classes, ie not meant to be directly instanciated. You
mentioned NotImplementedError, which is indeed the usual way to make
something "abstract" in Python.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list