mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-04-09 21:10:18 +00:00
Merge branch 'release-0.4'
This commit is contained in:
commit
2481c64cf1
10 changed files with 52 additions and 51 deletions
|
|
@ -42,7 +42,7 @@ def test_extension_type():
|
|||
typecode = 123 # application specific typecode
|
||||
data = obj.tostring()
|
||||
return ExtType(typecode, data)
|
||||
raise TypeError("Unknwon type object %r" % (obj,))
|
||||
raise TypeError("Unknown type object %r" % (obj,))
|
||||
|
||||
def ext_hook(code, data):
|
||||
print('ext_hook called', code, data)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ def testMapSize(sizes=[0, 5, 50, 1000]):
|
|||
|
||||
|
||||
class odict(dict):
|
||||
'''Reimplement OrderedDict to run test on Python 2.6'''
|
||||
"""Reimplement OrderedDict to run test on Python 2.6"""
|
||||
def __init__(self, seq):
|
||||
self._seq = seq
|
||||
dict.__init__(self, seq)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue