Skip to content

Commit 3f190dc

Browse files
committed
Drop redundant _CIBase
1 parent eaf154b commit 3f190dc

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

multidict/_multidict_py.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,6 @@ def __repr__(self):
140140
return '<{}({})>'.format(self.__class__.__name__, body)
141141

142142

143-
class _CIBase(_Base):
144-
145-
def _title(self, key):
146-
return key.title()
147-
148-
149143
class MultiDictProxy(_Base, abc.Mapping):
150144

151145
def __init__(self, arg):
@@ -166,7 +160,7 @@ def copy(self):
166160
return MultiDict(self.items())
167161

168162

169-
class CIMultiDictProxy(_CIBase, MultiDictProxy):
163+
class CIMultiDictProxy(MultiDictProxy):
170164

171165
def __init__(self, arg):
172166
if not isinstance(arg, (CIMultiDict, CIMultiDictProxy)):
@@ -372,8 +366,10 @@ def _replace(self, key, value):
372366
i += 1
373367

374368

375-
class CIMultiDict(_CIBase, MultiDict):
376-
pass
369+
class CIMultiDict(MultiDict):
370+
371+
def _title(self, key):
372+
return key.title()
377373

378374

379375
class _ViewBase:

0 commit comments

Comments
 (0)