diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew25.tex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index ae0be2f..f40d583 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -156,6 +156,7 @@ needed. The exact rules are that a \keyword{yield}-expression must always be parenthesized except when it occurs at the top-level expression on the right-hand side of an assignment, meaning you can to write \code{val = yield i} but \code{val = (yield i) + 12}. +% XXX ending of last para makes no sense Values are sent into a generator by calling its \method{send(\var{value})} method. The generator's code is then |