Python's equivalent of static member data?

Bram Stolk bram at nospam.sara.nl
Thu May 8 05:57:52 EDT 2003


Hello,

In C++, you can have static member data: only one instance of the data,
shared by all instances of the class.

What is the equivalent in Python?

Thanks,

  Bram


-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram at sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------




More information about the Python-list mailing list