Jack Diederich wrote:
> On Thu, May 04, 2006 at 02:08:30PM -0400, Steven Watanabe wrote:
> > I'm trying to do something like this in Python 2.4.3:
> >
> > class NamedSet(set):
> > def __init__(self, items=(), name=''):
> > set.__init__(self, items)
> > self.name = name
> >
> > class Name
On Thu, May 04, 2006 at 02:08:30PM -0400, Steven Watanabe wrote:
> I'm trying to do something like this in Python 2.4.3:
>
> class NamedSet(set):
> def __init__(self, items=(), name=''):
> set.__init__(self, items)
> self.name = name
>
> class NamedList(list):
> def __init__(self, ite
I'm trying to do something like this in Python 2.4.3:
class NamedSet(set):
def __init__(self, items=(), name=''):
set.__init__(self, items)
self.name = name
class NamedList(list):
def __init__(self, items=(), name=''):
list.__init__(self, items)
self.name = name
I can do:
>>