Update CLI example

This commit is contained in:
Hugo
2017-10-17 18:03:59 +03:00
parent 19a294a2a1
commit 946f136715
+2 -2
View File
@@ -224,11 +224,11 @@ def from_key_val_list(value):
::
>>> from_key_val_list([('key', 'val')])
collections.OrderedDict([('key', 'val')])
OrderedDict([('key', 'val')])
>>> from_key_val_list('string')
ValueError: need more than 1 value to unpack
>>> from_key_val_list({'key': 'val'})
collections.OrderedDict([('key', 'val')])
OrderedDict([('key', 'val')])
:rtype: OrderedDict
"""