python Programming Glossary: inner_reads
What limitations have closures in Python compared to language X closures? http://stackoverflow.com/questions/141642/what-limitations-have-closures-in-python-compared-to-language-x-closures In other words closures are read only def outer x ... def inner_reads ... # Will return outer's 'x'. ... return x ... def inner_writes.. assigned to. ... tmp x ... x y ... return tmp ... return inner_reads inner_writes inner_error ... inner_reads inner_writes inner_error.. tmp ... return inner_reads inner_writes inner_error ... inner_reads inner_writes inner_error outer 5 inner_reads 5 inner_writes..
|