Merge branch 'release-0.4'

This commit is contained in:
INADA Naoki 2017-01-12 18:17:00 +09:00
commit 2481c64cf1
10 changed files with 52 additions and 51 deletions

View file

@ -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)

View file

@ -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)