[docs] [issue24243] behavior for finding an empty string is inconsistent with documentation

R. David Murray report at bugs.python.org
Mon Sep 18 17:10:09 EDT 2017


R. David Murray added the comment:

I'm not Raymond, but he is correct.  This is an example of "taking advantage of the corner cases", and is something Python does a lot of, especially around strings and slices.  The current behavior was carefully considered and has useful properties.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24243>
_______________________________________


More information about the docs mailing list