Scope, type and UnboundLocalError
Fredrik Lundh
fredrik at pythonware.com
Mon Jul 10 06:06:05 EDT 2006
Paddy wrote:
> I had a look Frederick but the page lead to:
> http://pyref.infogami.com/subscriptions
> Which again failed to mention namespace issues.
it says
The primary must evaluate to an object of a sequence or mapping type.
and links to a page that explains what a primary is. the interesting page is the
one about "atoms" (which includes identifiers), which point you to
http://pyref.infogami.com/naming-and-binding
which explains it all.
</F>
More information about the Python-list
mailing list