diff options
-rw-r--r-- | msgpack/__init__.py | 7 | ||||
-rwxr-xr-x | setup.py | 2 |
2 files changed, 8 insertions, 1 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 + @@ -14,7 +14,7 @@ except ImportError: from distutils.command.build_ext import build_ext have_cython = False -version = '0.1.3' +version = '0.1.4' # take care of extension modules. if have_cython: |