Python equivalent of static member data?
Roger H
rhyde99 at email.msn.com
Sat Feb 10 17:06:24 EST 2001
More information about the Python-list mailing list
Sat Feb 10 17:06:24 EST 2001
- Previous message (by thread): Python equivalent of static member data?
- Next message (by thread): Python equivalent of static member data?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. Make sense? ~Roger the Shrubber~
- Previous message (by thread): Python equivalent of static member data?
- Next message (by thread): Python equivalent of static member data?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list