On 3/21/2013 4:52 AM, bartolome.sin...@gmail.com wrote:
In Python 3, "free variable" and "nonlocal variable" are synonym terms?

Yes, but that is idiosyncratic to Python.

Or is there a difference, like "a free variable is a variable that is
not a local variable, then nonlocal variables and global variables are
> both free variables"?

I believe that is the usual definition, such as you would find on Wikipedia.

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to