mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
eval() example: Removed final interpreter prompt; other examples don't have
the empty prompt.
This commit is contained in:
parent
59160706b3
commit
1b0ff2c32f
1 changed files with 0 additions and 1 deletions
|
@ -170,7 +170,6 @@ class instances are callable if they have a \method{__call__()} method.
|
|||
>>> x = 1
|
||||
>>> print eval('x+1')
|
||||
2
|
||||
>>>
|
||||
\end{verbatim}
|
||||
|
||||
This function can also be used to execute arbitrary code objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue