Merge "More minor docs fixes"

This commit is contained in:
Jenkins 2015-07-19 16:44:19 +00:00 committed by Gerrit Code Review
commit 64334c0dc9
2 changed files with 3 additions and 3 deletions

View File

@ -186,9 +186,9 @@ def sort_items(items, sort_str):
:param items: a list or generator object of items
:param sort_str: a string defining the sort rules, the format is
'<key1>:[direction1],<key2>:[direction2]...', direction can be 'asc'
for ascending or 'desc' for descending, if direction is not given,
it's ascending by default
'<key1>:[direction1],<key2>:[direction2]...', direction can be 'asc'
for ascending or 'desc' for descending, if direction is not given,
it's ascending by default
:return: sorted items
"""
if not sort_str: