fixed typo in language reference
This commit is contained in:
Fredrik Lundh 2006-02-02 21:58:55 +00:00
parent 553489ab1d
commit 5a49fae1ab

View file

@ -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