mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
More minor docs fixes
Change-Id: Ia74b8e14bacb562d9bac29221f511acbab5296df
This commit is contained in:
parent
b08dd6f132
commit
643d1d90fe
2 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue