Re:What Python learned from economics
by etal on Tuesday November 18, 2008 @06:15PM
(#368884)
It can be a cute hack to get around the absence of static variables.
Lists have other quirks related to mutability; there are other obscure Pythonisms that use this. If you want a nice magic-free immutable container, tuples are a better bet.
Lists have other quirks related to mutability; there are other obscure Pythonisms that use this. If you want a nice magic-free immutable container, tuples are a better bet.