See exactly what a function has returned
Peter Hansen
peter at engcorp.com
Wed Sep 15 13:27:47 EDT 2004
More information about the Python-list mailing list
Wed Sep 15 13:27:47 EDT 2004
- Previous message (by thread): See exactly what a function has returned
- Next message (by thread): See exactly what a function has returned
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brad Tilley wrote: > Is there an easier way to do this: > > def print_whats_returned(function): > print function > print type(function) What is "this"? The subject line and the name of the function imply it is something to do with the return values of a function, yet the function is never called. While Python is sometimes called executable pseudo-code, I think in this case you'd be better off using plain English to describe what your goal is. -Peter
- Previous message (by thread): See exactly what a function has returned
- Next message (by thread): See exactly what a function has returned
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list