On Wed, 30 May 2007 23:23:22, Warren Stringer <[EMAIL PROTECTED]> wrote
>
>def a(): return 'b'
>def b(): print 'polly! wakey wakey'
>c = {}
>c['a'] = b
>c[a()]()  #works!


(typo correction for other easily-confused newbies like myself)

I think you mean
,----
| c['a']()  #works!
`----

-- 
Doug Woodrow

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

Reply via email to