mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
erlang: stopped support for dict() type.
This commit is contained in:
parent
7b152640d9
commit
dad7a03d19
1 changed files with 0 additions and 2 deletions
|
|
@ -114,8 +114,6 @@ pack_(List) when is_list(List) ->
|
|||
pack_array(List);
|
||||
pack_({Map}) when is_list(Map) ->
|
||||
pack_map(Map);
|
||||
pack_(Map) when is_tuple(Map), element(1,Map)=:=dict ->
|
||||
pack_map(dict:to_list(Map));
|
||||
pack_(Other) ->
|
||||
throw({error, {badarg, Other}}).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue