Serhiy Storchaka added the comment:

Because in first case there is one iterator, iter(self), and in second case 
there are two iterators: iter(self) and iter((v == value for v in self)).

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22446>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to