[Python-ideas] string codes & substring equality

Paul Moore p.f.moore at gmail.com
Wed Nov 27 21:01:11 CET 2013


On 27 November 2013 17:59, MRAB <python at mrabarnett.plus.com> wrote:
>>>> help(str.startswith)
> Help on method_descriptor:
>
> startswith(...)
>     S.startswith(prefix[, start[, end]]) -> bool

Wow! I never knew that startswith/endswith accepted start and end
arguments. Something new I learned today - thanks :-)

Paul


More information about the Python-ideas mailing list