match.
Is there somehow I can improve code in elementsPresent()? I'm not a
very good programmer but I sense that idea of using a variable named
'result' inside elementsPresent() doesn't sound very good. Any ideas
will be highly appreciated.
Thanks,
Oltmans
--
Kind regar
__init__( self, base ):
self.base = base
Something like that... and then I would do this:
foo = MyDerived( MyBase() )
Note I'm using Python 3.1 on Windows. Thanks in advance.
--
Kind regards, Sergey Simonenko.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I subclass builtin 'dict' in my application and experience some problems
with it.
The whole issue is that I should redefine 'setdefault' and 'update'
methods after redefining '__setitem__' or/and '__delitem__',
otherwise 'update' and 'setdefault' ignore redefined '__setitem__' and use