[New-bugs-announce] [issue25810] Python 3 documentation for eval is incorrect

Andre Roberge report at bugs.python.org
Sat Dec 5 15:13:23 EST 2015


New submission from Andre Roberge:

The documentation for eval() indicates that it takes keyword arguments:

eval(expression, globals=None, locals=None)

However, that is incorrect, as indicated by the builtin help:

>>> help(eval)
Help on built-in function eval in module builtins:

eval(...)
    eval(source[, globals[, locals]]) -> value

----------
assignee: docs at python
components: Documentation
messages: 255969
nosy: aroberge, docs at python
priority: normal
severity: normal
status: open
title: Python 3 documentation for eval is incorrect
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25810>
_______________________________________


More information about the New-bugs-announce mailing list