Skip to content
Myr

This simplification should work.

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

Probably should write a test case where it should fail though.

authored by Ian Cordasco · committed by Ian Cordasco · parent 46b6207 · 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
340 unmodified lines
341342 try:343 fields = list(self.data.items())344 except AttributeError:345 fields = list(dict(self.data).items())345 fields = list(self.data)346347 if isinstance(files, dict):348 files = files.items()349
499 unmodified lines