hi all
is there a way to do this ...
class clown:
def __init__(self):
self.x = 0
self.y = ALIAS(self.x) ## FEASIBLE ?
.... so that you get results like this ...
krusty = clown()
krusty.x
krusty.y
krusty.x = 1
krusty.x
krusty.y
.... ? thanks.
peace
stm
is there a way to do this ...
class clown:
def __init__(self):
self.x = 0
self.y = ALIAS(self.x) ## FEASIBLE ?
.... so that you get results like this ...
krusty = clown()
krusty.x
>0
>0
krusty.x
>1
>1
peace
stm
Comment