Lines Matching defs:suffix
12862 suffix: unicode
12865 Return a str with the given suffix string removed if present.
12867 If the string ends with the suffix string and that suffix is not empty,
12868 return string[:-len(suffix)]. Otherwise, return a copy of the original
12873 unicode_removesuffix_impl(PyObject *self, PyObject *suffix)
12876 int match = tailmatch(self, suffix, 0, PY_SSIZE_T_MAX, +1);
12882 - PyUnicode_GET_LENGTH(suffix));
13680 "S.endswith(suffix[, start[, end]]) -> bool\n\
13682 Return True if S ends with the specified suffix, False otherwise.\n\
13685 suffix can also be a tuple of strings to try.");