[docs] [issue34431] Docs does not eval allows code object as argument
report at bugs.python.org
Sat Aug 18 12:49:19 EDT 2018
Berker Peksag <berker.peksag at gmail.com> added the comment:
Thank you for your report.
Quoting from https://docs.python.org/3.6/library/functions.html#eval
This function can also be used to execute arbitrary code objects
(such as those created by compile()). In this case pass a code
object instead of a string.
So, your example is already documented as a legal way of using the eval() function.
I don't see anything wrong here.
resolution: -> not a bug
status: open -> pending
type: -> behavior
versions: -Python 3.4, Python 3.5
Python tracker <report at bugs.python.org>
More information about the docs