Skip to content
Myr

Fixing error return to be consistent with tuple return at the end of the method.

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

authored by Stephen Huenneke · committed by Stephen Huenneke · parent 9473f15 · 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/models.py+1 added-1 removed
91 unmodified lines
92 if parameters are supplied as a dict.9394 """95 if (not files) or isinstance(data, str):96 return None96 return (None, None)9798 new_fields = []99 fields = to_key_val_list(data or {})100 files = to_key_val_list(files or {})
606 unmodified lines