Python equivalent of static member data?
rhyde99 at email.msn.com
Sat Feb 10 23:06:24 CET 2001
I've just gotten done digging through the docs for 1.5.2,
and did not find an answer to my question: Is there a
Python equivalent to the C++ concept of static member
data? I'd like to make a class, and have each instance
of that class share a variable and its associated value.
Each instance would have the ability to modify that value,
and the new value would be updated through all instances.
~Roger the Shrubber~
More information about the Python-list