STINNER Victor <[email protected]> added the comment:
> What result would you expect of `"" in ""` and `"".count("")`?
I don't suggest to change these operator and method:
>>> "" in ""
True
>>> "".count("")
1
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue28029>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com