Searched refs:_shorten (Results 1 – 1 of 1) sorted by relevance
18 def _shorten(s, prefixlen, suffixlen): function38 prefix = _shorten(prefix, _MIN_BEGIN_LEN, common_len)41 prefix = _shorten(prefix, _MIN_BEGIN_LEN, _MIN_COMMON_LEN)42 return tuple(prefix + _shorten(s[prefixlen:], _MIN_DIFF_LEN, _MIN_END_LEN)