mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-14 03:10:40 +00:00
parent
2b5f59166b
commit
d782464c91
10 changed files with 17 additions and 40 deletions
|
|
@ -22,7 +22,7 @@ if os.environ.get('MSGPACK_PUREPYTHON'):
|
|||
from msgpack.fallback import Packer, unpackb, Unpacker
|
||||
else:
|
||||
try:
|
||||
from msgpack._msgpack import Packer, unpackb, Unpacker
|
||||
from msgpack._cmsgpack import Packer, unpackb, Unpacker
|
||||
except ImportError:
|
||||
from msgpack.fallback import Packer, unpackb, Unpacker
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue