Common data area

Steve Holden sholden at holdenweb.com
Fri Oct 13 12:47:29 EDT 2000


Dale Strickland-Clark wrote:
> 
> How can a bunch of objects share a common data area without having to
> pass a reference to it whenever a new instance is created?
> 
By defining data items local to the class definition (class variables),
which are shared among all instances.

See:

   http://www.faqts.com/knowledge-base/view.phtml/aid/1667/fid/242

...
> 
> Pearls of wisdom always gratefully received.
> 
> Dale Strickland-Clark
> Out-Think Ltd
> Business Technology Consultants

Shouldn't that be "Pythons of wisdom ..."?

regards
 Steve
-- 
Helping people meet their information needs with training and technology.
703 967 0887      sholden at bellatlantic.net      http://www.holdenweb.com/





More information about the Python-list mailing list