diff options
| author | INADA Naoki <methane@users.noreply.github.com> | 2018-11-08 21:39:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-08 21:39:18 +0900 |
| commit | 08e65bdd03ec4f9aa287c8cf50c6c3bf292c787d (patch) | |
| tree | 61a4df67f84106f45695af45f25a6646a55af9f7 /msgpack/__init__.py | |
| parent | 91ec9e1daf5cc915a47e2b356a7b1dd9662573a3 (diff) | |
| parent | 9d11249d89c67fd87acaeb16184414b5ef0b5aa4 (diff) | |
| download | msgpack-python-08e65bdd03ec4f9aa287c8cf50c6c3bf292c787d.tar.gz | |
Merge extension modules (#314)
There were `_packer.so` and `_unpacker.so`.
But single module is simpler than double module.
Merge extension module into single `_msgpack.so`.
Diffstat (limited to 'msgpack/__init__.py')
| -rw-r--r-- | msgpack/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/msgpack/__init__.py b/msgpack/__init__.py index 3955a41..7c5d4c0 100644 --- a/msgpack/__init__.py +++ b/msgpack/__init__.py @@ -22,8 +22,7 @@ if os.environ.get('MSGPACK_PUREPYTHON'): from msgpack.fallback import Packer, unpackb, Unpacker else: try: - from msgpack._packer import Packer - from msgpack._unpacker import unpackb, Unpacker + from msgpack._msgpack import Packer, unpackb, Unpacker except ImportError: from msgpack.fallback import Packer, unpackb, Unpacker |
