From 96a8233b649d0eb9edef25ac4511720964742764 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 18 Jun 2003 01:32:24 +0000 Subject: SF patch #751038 fixing SF bug#750092: exec doesn't need newline Patch contributed by Steven Taschuk. --- Doc/ref/ref6.tex | 6 ------ 1 file changed, 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} -- cgit v0.12