Skip to content
Myr

structures: CaseInsensitiveDict.__delitem__ missing "value" fix

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

authored by Gulácsi Tamás · committed by Gulácsi Tamás · parent 369e7cb · 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
27 unmodified lines
28 dict.__setitem__(self, key, value)29 self._clear_lower_keys()3031 def __delitem__(self, key):32 dict.__delitem__(self, key, value)32 dict.__delitem__(self, key)33 self._lower_keys.clear()3435 def __contains__(self, key):36 return key.lower() in self.lower_keys
11 unmodified lines