diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2006-02-02 21:58:55 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2006-02-02 21:58:55 +0000 |
commit | 4c5d1af889155421ead5d9a06155c27ffd55d00c (patch) | |
tree | 0bc2140602a3b703fffcddeffc25db34c1b2de67 /Doc/ref | |
parent | f642e86935db4a03ef62a993e77757df8a501065 (diff) | |
download | cpython-4c5d1af889155421ead5d9a06155c27ffd55d00c.tar.gz |
SF patch #1421726
fixed typo in language reference
Diffstat (limited to 'Doc/ref')
-rw-r--r-- | Doc/ref/ref6.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex index 3dee67f61a..d1d23ac3a1 100644 --- a/Doc/ref/ref6.tex +++ b/Doc/ref/ref6.tex @@ -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 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 -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 the \keyword{return} and \keyword{yield} statements may not be used outside of function definitions even within the context of code passed |