
27 May
2021
27 May
'21
2:20 p.m.
Reply to Chris:
I'm proposing a way to do this officially in Python. For example I know another hack,
def count(cur={"cur":0}): cur["cur"] += 1 return cur
Static should behave much like Python's for loop variables.
I have no idea what this means.
That's a bad example. I was just trying to make it clear. But you have got the idea. So don't worry about that.