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

View File

@ -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