mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
else if
This commit is contained in:
parent
30b0c6c507
commit
887f102a7b
2 changed files with 2 additions and 3 deletions
|
|
@ -529,7 +529,7 @@ class Unpacker:
|
|||
raise ValueError("%s is not allowed for map key" % str(type(key)))
|
||||
if isinstance(key, str):
|
||||
key = sys.intern(key)
|
||||
if isinstance(key, list):
|
||||
elif isinstance(key, list):
|
||||
key = tuple(key)
|
||||
ret[key] = self._unpack(EX_CONSTRUCT)
|
||||
if self._object_hook is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue