mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-08 13:31:01 +00:00
parent
d9ec8fc905
commit
5569a4efcd
9 changed files with 48 additions and 47 deletions
|
|
@ -48,7 +48,7 @@ def test_unpacker_ext_hook():
|
|||
|
||||
def __init__(self):
|
||||
super(MyUnpacker, self).__init__(
|
||||
ext_hook=self._hook, raw_as_bytes=False)
|
||||
ext_hook=self._hook, raw=False)
|
||||
|
||||
def _hook(self, code, data):
|
||||
if code == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue