Chris Rebert a écrit : (snip)
'global' declarations are only allowed (and only make sense) inside afunction.
<mode="nitpick">Well, they _are_ actually allowed outside a function. But they indeed only make sense within !-)
</mode> (snip) -- http://mail.python.org/mailman/listinfo/python-list