mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 18:29:53 +00:00
else if
This commit is contained in:
parent
30b0c6c507
commit
887f102a7b
2 changed files with 2 additions and 3 deletions
|
|
@ -198,8 +198,7 @@ static inline int unpack_callback_map_item(unpack_user* u, unsigned int current,
|
|||
}
|
||||
if (PyUnicode_CheckExact(k)) {
|
||||
PyUnicode_InternInPlace(&k);
|
||||
}
|
||||
if (PyList_CheckExact(k)) {
|
||||
} else if (PyList_CheckExact(k)) {
|
||||
Py_ssize_t list_size = PyList_Size(k);
|
||||
PyObject* tuple = PyTuple_New(list_size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue