See exactly what a function has returned

Brad Tilley bradtilley at usa.net
Wed Sep 15 13:17:40 EDT 2004


Is there an easier way to do this:

def print_whats_returned(function):
     print function
     print type(function)



More information about the Python-list mailing list