]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
note that the return and yield statements cannot be used at the top level in
authorFred Drake <fdrake@acm.org>
Wed, 7 Sep 2005 05:18:06 +0000 (05:18 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 7 Sep 2005 05:18:06 +0000 (05:18 +0000)
commitd7390a8de7c397d74843e749630b3f4f1b6a7d67
tree0e9dca742c1fad9e90b3c2ff07b723d84c281176
parent112255b4596849507984558383856f14bd075b77
note that the return and yield statements cannot be used at the top level in
exec statements; people coming from certain other languages seem to be
confused by this on a regular basis
(backported from trunk revision 1.77)
Doc/ref/ref6.tex