[docs] [issue16011] "in" should be consistent with return value of __contains__

Eric Lafontaine report at bugs.python.org
Tue Feb 7 20:29:07 EST 2017


Eric Lafontaine added the comment:

Hi David, sorry for the delay on my part for providing how I was getting to that conclusion.  I've also resurrected an old post as I want to start contributing more seriously :).

As this is documentation only (not changing the code behavior), I didn't take a look at the implementation of "in".

Could you enlighten me on what else would be considered "False" in this case?

Regards,
Eric Lafontaine

----------

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


More information about the docs mailing list