On Tue, Apr 13, 2010, Charles Turner wrote:
>
> This works just fine at the top level of the script, but when I get()  
> and reference props inside a function definition, Python complains about 
> the dot in k-dot-name, for example:
>
> "UnboundLocalError: "local variable 'k' referenced before assignment""

You need to provide the code.  But this isn't really Mac-specific; you
might get better advice on comp.lang.python.
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to