[issue18472] Update PEP 8 to encourage modern conventions
Nick Coghlan
report at bugs.python.org
Thu Aug 1 14:59:13 CEST 2013
Nick Coghlan added the comment:
Heh, I just realised a correct generator definition would have needed the loop-and-a-half internally anyway:
def itervalues(x):
while True:
value = x.getvalue()
if not value:
break
yield value
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18472>
_______________________________________
More information about the Python-bugs-list
mailing list