Steve Holden <st...@holdenweb.com> added the comment:

"Is the same as" is a little misleading - "gives the same result as" would be 
better, since there is little doubt actually slicing the subject strings would 
be massively less efficient in looping contexts.

The re module offers the start and end arguments to so many functions/methods 
for precisely this reason, so perhaps that module's documentation will contain 
helpful wording that could  be copied or referenced.

----------
nosy: +holdenweb

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37490>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to