Storing objects required by functions.
aahz at pythoncraft.com
Tue Dec 30 16:33:59 CET 2003
In article <99dce321.0312300655.14c5a8db at posting.google.com>,
David M. Wilson <dw-google.com at botanicus.net> wrote:
>g = re.compile('...')
> global g
Why not just use the global? Without the ``global`` statement, that is.
Don't like that? How's it any different from using a class instance?
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Weinberg's Second Law: If builders built buildings the way programmers wrote
programs, then the first woodpecker that came along would destroy civilization.
More information about the Python-list