summaryrefslogtreecommitdiff
path: root/msgpack
diff options
context:
space:
mode:
Diffstat (limited to 'msgpack')
-rw-r--r--msgpack/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/msgpack/__init__.py b/msgpack/__init__.py
index 9593714..86786a2 100644
--- a/msgpack/__init__.py
+++ b/msgpack/__init__.py
@@ -1,3 +1,10 @@
# coding: utf-8
from msgpack._msgpack import *
+# alias for compatibility to simplejson/marshal/pickle.
+load = unpack
+loads = unpackb
+
+dump = pack
+dumps = packb
+