Emile van Sebille wrote: > This works: > > print eval.__doc__ eval's a function. >>> eval <built-in function eval> > > but this doesn't: > > print exec.__doc__ exec's a statement (and a reserved word), just like print, def, return,etc. there's simply no "exec" object in there... also see: http://python.sourceforge.net/peps/pep-0233.html </F>