1
0
mirror of https://github.com/msgpack/msgpack-c.git synced 2025-09-18 20:09:34 +02:00

Python: add "load(s)/dump(s)" alias for compatibility to simplejson/marshal/pickle.

This commit is contained in:
INADA Naoki 2010-06-15 17:51:24 +09:00
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