what does newP = func(code,p) do?

e-mail mgbg25171 mgbg25171 at blueyonder.co.uk
Wed May 16 12:09:18 EDT 2012


It's been a long time since I did any Python and I've never done that
In C I'm used to storing function ptrs and then having to use some other
constructs to call them.
To be able to store func and then use func to call itself like that threw
me...it's very elegant.
Thank you very much for your very lucid explanation and for taking the time
to provide it.
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120516/2bb7e070/attachment.html>


More information about the Python-list mailing list