Scope rules in Python
Fernando Rodríguez
spamers at must.die
Mon Jan 29 11:41:28 EST 2001
Hi!
Is there any plans to change the scope rules in Python, so that
function B can also access everything (including itself) defined inside
function A?:
def A():
def B():
return None
return None
It would make defining internal functions and closures _much_
easier... :-)
TIA
//-----------------------------------------------
// Fernando Rodriguez Romero
//
// frr at mindless dot com
//------------------------------------------------
More information about the Python-list
mailing list