Global variables within classes.

Donn Ingle donn.ingle at
Sat Nov 10 00:06:28 CET 2007

> I guess you mean "instances", not "classes".
> Err...Perhaps a dumb question, but what about passing the "common
> objects" to initializers ?
> s = Stack()
> c = Canvas(s)
> t = Thing(s)

Okay, I see where you're going. It's better than what I have at the moment.


More information about the Python-list mailing list