Skip to content

Commit c353821

Browse files
committed
Get rid of MultiDictMixin
1 parent cc34bfc commit c353821

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

aiohttp/multidict.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def copy(self):
154154
return _CIMultiDict(self.items())
155155

156156

157-
class MultiDictMixin:
157+
class _MultiDict(_Base, abc.MutableMapping):
158158

159159
def __init__(self, *args, **kwargs):
160160
if len(args) > 1:
@@ -253,12 +253,7 @@ def update(self, *args, **kw):
253253
raise NotImplementedError("Use extend method instead")
254254

255255

256-
class _MultiDict(_Base, MultiDictMixin, abc.MutableMapping):
257-
"""An ordered dictionary that can have multiple values for each key."""
258-
259-
260256
class _CIMultiDict(_CIBase, _MultiDict):
261-
"""An ordered dictionary that can have multiple values for each key."""
262257

263258
def _fill(self, ipairs):
264259
for key, value in ipairs:

0 commit comments

Comments
 (0)