[issue37490] poor documentation for .startswith, .endswith

Aldwin Pollefeyt report at bugs.python.org
Wed Jul 3 04:00:22 EDT 2019


Aldwin Pollefeyt <aldwinaldwin at gmail.com> added the comment:

correction:

... otherwise, text.startswith(prefix, start, end) gives the same result as text[start:end].startswith(prefix).

----------

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


More information about the Python-bugs-list mailing list