function pointer

Erik Max Francis max at alcyone.com
Wed Sep 11 13:28:28 EDT 2002


Christina wrote:

> Does Python have function pointers? If not, is there a possibility to
> emulate them?

Functions and methods (both bound and unbound) are first-class objects
in Python.  Python doesn't have function pointers, but it doesn't need
them.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Procrastination is the thief of time.
\__/ Edward Young
    WebVal / http://www.alcyone.com/pyos/webval/
 URL scanner, maintainer, and validator in Python.



More information about the Python-list mailing list