More minor docs fixes

Change-Id: Ia74b8e14bacb562d9bac29221f511acbab5296df
This commit is contained in:
TerryHowe 2015-07-19 07:03:57 -06:00
parent b08dd6f132
commit 643d1d90fe
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 items: a list or generator object of items
:param sort_str: a string defining the sort rules, the format is :param sort_str: a string defining the sort rules, the format is
'<key1>:[direction1],<key2>:[direction2]...', direction can be 'asc' '<key1>:[direction1],<key2>:[direction2]...', direction can be 'asc'
for ascending or 'desc' for descending, if direction is not given, for ascending or 'desc' for descending, if direction is not given,
it's ascending by default it's ascending by default
:return: sorted items :return: sorted items
""" """
if not sort_str: if not sort_str: