function pointer

Erik Max Francis max at
Wed Sep 11 19:28:28 CEST 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

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

More information about the Python-list mailing list