Skip to content
Myr

Incorrect ValueError Message

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by unknown · committed by unknown · parent 3a831be · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/utils.py+1 added-1 removed
262 unmodified lines
263264 >>> from_key_val_list([('key', 'val')])265 OrderedDict([('key', 'val')])266 >>> from_key_val_list('string')267 ValueError: need more than 1 value to unpack267 ValueError: cannot encode objects that are not 2-tuples268 >>> from_key_val_list({'key': 'val'})269 OrderedDict([('key', 'val')])270271 :rtype: OrderedDict
704 unmodified lines