mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 13:02:13 +01:00
Python: add "load(s)/dump(s)" alias for compatibility to simplejson/marshal/pickle.
This commit is contained in:
parent
82a5dd6cf9
commit
59603b902a
@ -1,3 +1,10 @@
|
||||
# coding: utf-8
|
||||
from _msgpack import *
|
||||
|
||||
# alias for compatibility to simplejson/marshal/pickle.
|
||||
load = unpack
|
||||
loads = unpackb
|
||||
|
||||
dump = pack
|
||||
dumps = packb
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user