Bug or Feature?
Bjorn Pettersen
pbjorn at uswest.net
Fri Dec 29 15:24:55 EST 2000
My guess is that it's because eval is a function and exec is a statement
("print print.__doc__ doesn't work either ;-)
-- bjorn
Emile van Sebille wrote:
> Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)]
> on win32
> (and linux current cvs)
>
> This works:
>
> print eval.__doc__
>
> but this doesn't:
>
> print exec.__doc__
>
> --
>
> Emile van Sebille
> emile at fenx.com
> -------------------
More information about the Python-list
mailing list