Skip to content
Myr

Shorten str for case insensitive dict

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

authored by Avi Das · committed by Avi Das · parent a3fb689 · 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/structures.py+1 added-1 removed
107 unmodified lines
108 def __repr__(self):109 return '%s(%r)' % (self.__class__.__name__, dict(self.items()))110111 def __str__(self):112 return '%s' % (dict(self.items()))112 return str(dict(self.items()))113114115class LookupDict(dict):116 """Dictionary lookup object."""
15 unmodified lines