eval() in python

Jeff Epler jepler at unpythonic.net
Tue Jun 21 08:34:28 EDT 2005


On Tue, Jun 21, 2005 at 08:13:47AM -0400, Peter Hansen wrote:
> Xah Lee wrote:
> > the doc seems to suggest that eval is only for expressions... it says
> > uses exec for statements, but i don't seem to see a exec function?
> 
> Because it's a statement: http://docs.python.org/ref/exec.html#l2h-563

but the documentation is sooooooo baaaaaaad that it makes babies cry and
maybe spreads herpes too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050621/cb849864/attachment.sig>


More information about the Python-list mailing list