Skip to content

Commit

Permalink
Bumpt to 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 26, 2016
1 parent aa208e8 commit 083b3bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2.1.3 (2016-11-26)
------------------

* Add a fastpath for multidict extending by multidict


2.1.2 (2016-09-25)
------------------

Expand Down
2 changes: 1 addition & 1 deletion multidict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__all__ = ('MultiDictProxy', 'CIMultiDictProxy',
'MultiDict', 'CIMultiDict', 'upstr', 'istr')

__version__ = '2.1.2'
__version__ = '2.1.3'


if bool(os.environ.get('MULTIDICT_NO_EXTENSIONS')):
Expand Down
4 changes: 3 additions & 1 deletion multidict/_multidict.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ cdef class MultiDict(_Base):

if args:
arg = args[0]
if isinstance(arg, _Base):
if isinstance(arg, CIMultiDict):
self._items.extend((<_Base>arg)._items)
elif isinstance(arg, _Base):
for i in (<_Base>arg)._items:
item = <_Pair>i
key = self._title(item._key)
Expand Down

0 comments on commit 083b3bc

Please sign in to comment.