diff options
author | Raymond Hettinger <python@rcn.com> | 2003-06-18 01:32:24 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-06-18 01:32:24 (GMT) |
commit | 96a8233b649d0eb9edef25ac4511720964742764 (patch) | |
tree | 7a3b3a837a60f5bf6ae969e584e13ffac47aed04 /Doc/ref | |
parent | be9715398b87df269d0781a7c436e10cfa4a0ea4 (diff) | |
download | cpython-96a8233b649d0eb9edef25ac4511720964742764.zip cpython-96a8233b649d0eb9edef25ac4511720964742764.tar.gz cpython-96a8233b649d0eb9edef25ac4511720964742764.tar.bz2 |
SF patch #751038 fixing SF bug#750092: exec doesn't need newline
Patch contributed by Steven Taschuk.
Diffstat (limited to 'Doc/ref')
-rw-r--r-- | Doc/ref/ref6.tex | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex index a078aa4..c6ff655 100644 --- a/Doc/ref/ref6.tex +++ b/Doc/ref/ref6.tex @@ -896,11 +896,5 @@ for use by \keyword{exec}. \bifuncindex{globals} \bifuncindex{locals} -Also, in the current implementation, multi-line compound statements must -end with a newline: -\code{exec "for v in seq:\e{}n\e{}tprint v\e{}n"} works, but -\code{exec "for v in seq:\e{}n\e{}tprint v"} fails with -\exception{SyntaxError}. -\exindex{SyntaxError} |