|
|
|
|
|
by Tommstein
1013 days ago
|
|
> Actually, in the doc you described as "obviously the correct hit", all I see is > > str.endswith(suffix[, start[, end]]) > > Return True if the string ends with the specified suffix, otherwise return False. suffix can also be a tuple of suffixes to look for. With optional start, test beginning at that position. With optional end, stop comparing at that position. What exactly don't you understand from that concise and official documentation? |
|