Home
last modified time | relevance | path

Searched refs:len_cmp (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py467 len_cmp = lambda a, b: cmp(len(a), len(b)) function
468 message.repeated_string.sort(sort_function=len_cmp)
470 message.repeated_string.sort(cmp=len_cmp, reverse=True)