Antoon Pardon wrote:
> I'm probably looking right over it, but for the moment
> I'm stumped. Can someone explain what is wrong. I'm running
> python 2.5.2 here
>
> This is the code:
> @vslice
> class IdSet(object):
Class decorators require Python 2.6
Peter
--
http://mail.python.org/mailman/li
I'm probably looking right over it, but for the moment
I'm stumped. Can someone explain what is wrong. I'm running
python 2.5.2 here
This is the code:
class vslice(object):
def __init__(self, fun):
self.fun = fun
def __getitem__(self, inx):
if not isinstance(inx, tuple):
inx =