Fred L. Drake, Jr. added the comment: "in" and "not in" are not comparisons, regardless of implementation mechanics (which could change).
They aren't really dependent on iteration, though they often correlate with iteration. I'd rather see them described as "containment tests" or something similar. ---------- nosy: +fdrake _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28617> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com