mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Update CLI example
This commit is contained in:
+2
-2
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user