free and nonlocal variables

bartolome.sintes at gmail.com bartolome.sintes at gmail.com
Thu Mar 21 09:52:17 CET 2013


In Python 3, "free variable" and "nonlocal variable" are synonym terms? 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"?

Thanking you in advance,
Bartolomé Sintes



More information about the Python-list mailing list