[issue22446] Shortening code in abc.py
Serhiy Storchaka
report at bugs.python.org
Fri Sep 19 23:15:54 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue22446>
_______________________________________
More information about the Python-bugs-list
mailing list