Nested function scope problem
Bruno Desthuilliers
onurb at xiludom.gro
Mon Jul 24 05:03:40 EDT 2006
Bruno Desthuilliers wrote:
(snip)
> First point: the nested function only have access to names that exists
> in the enclosing namespace at the time it's defined.
Duh.
Sometimes I'd better go to bed instead of answering posts here - I'd say
less stupidities. re-reading this, I can't believe I actually wrote such
an absurdity.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list