?
=?ISO-8859-1?Q?Tor_Erik_S=F8nvisen?=
Hi,
Does anyone know how to interrupt the lookup of an integer value? I
know I need to subclass int, since builtin types can't be altered
directly...
Below is how far I've come... What I want is to tap into the access of
instance i's value 1...
def __init__(self, *a, **k):
super(Int, self).__init__(self, *a, **k)
1
Regards,
Tor Erik
Does anyone know how to interrupt the lookup of an integer value? I
know I need to subclass int, since builtin types can't be altered
directly...
Below is how far I've come... What I want is to tap into the access of
instance i's value 1...
def __init__(self, *a, **k):
super(Int, self).__init__(self, *a, **k)
1
Regards,
Tor Erik