[docs] [issue25810] Python 3 documentation for eval is incorrect
random832
report at bugs.python.org
Sat Dec 5 15:35:39 EST 2015
random832 added the comment:
Whatever the case may be, it *doesn't* support keyword arguments. e.g.:
>>> eval("a+b", globals={'a':1}, locals={'b':2})
TypeError: eval() takes no keyword arguments
So as the current situation stands, the documentation is wrong, and the help string is consistent with the code's actual behavior. Confirmed in Python 3.5.0.
----------
nosy: +random832
versions: +Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25810>
_______________________________________
More information about the docs
mailing list