mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
parent
553489ab1d
commit
5a49fae1ab
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ a code object. If it is a string, the string is parsed as a suite of
|
||||||
Python statements which is then executed (unless a syntax error
|
Python statements which is then executed (unless a syntax error
|
||||||
occurs). If it is an open file, the file is parsed until \EOF{} and
|
occurs). If it is an open file, the file is parsed until \EOF{} and
|
||||||
executed. If it is a code object, it is simply executed. In all
|
executed. If it is a code object, it is simply executed. In all
|
||||||
cases, the code that's executed is expected to be be valid as file
|
cases, the code that's executed is expected to be valid as file
|
||||||
input (see section~\ref{file-input}, ``File input''). Be aware that
|
input (see section~\ref{file-input}, ``File input''). Be aware that
|
||||||
the \keyword{return} and \keyword{yield} statements may not be used
|
the \keyword{return} and \keyword{yield} statements may not be used
|
||||||
outside of function definitions even within the context of code passed
|
outside of function definitions even within the context of code passed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue