Georg Brandl added the comment: Hmm, the yield statement is now basically the same as any expression statement -- just like a function call. The only reason it's a separate grammar symbol is that otherwise yield expressions would have to be parenthesized.
Can the patch be updated to make this a bit clearer? Otherwise I like the approach of moving the info to the expressions page. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12704> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com