From: Fredrik Lundh Date: Thu, 2 Feb 2006 21:58:55 +0000 (+0000) Subject: SF patch #1421726 X-Git-Tag: v2.5a0~725 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a49fae1ab02f94fe0753a0f8da1bafa39a33f3c;p=python SF patch #1421726 fixed typo in language reference --- 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