[docs] [issue28617] Why isn't "in" called a comparison operation?

wim glenn report at bugs.python.org
Fri Nov 4 17:00:21 EDT 2016


wim glenn added the comment:

Well, that wouldn't be true either.  Because you can easily implement objects which support membership tests but don't support iteration.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28617>
_______________________________________


More information about the docs mailing list