Function declarations

Makhno mak at imakhno.freeserve.co.uk
Sat Nov 18 15:23:36 EST 2000


Is it possible to obtain a reference to a function before it has been
'def'ined?

eg:

do_something(my_func)

def my_func():
    blahblah...

I find Python's "def is an executable statement" very irritating...





More information about the Python-list mailing list