Zbyszek Szmek <zbys...@in.waw.pl> added the comment:

>>> f((yield))

This requirement seems unnecessary. And surprising, because 
f(<generator-expression>) or f('a' if 'a' else 'b') doesn't require parenthes. 
There's no room for confusion if parentheses were omitted in the 
single-argument case. (Following the rule given in documentation for generator 
expressions: "The parentheses can be omitted on calls with only one argument.").

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11682>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to