mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-20 20:33:17 +00:00
use relative imports (#357)
Some applications use msgpack to store persistent data and require a specific msgpack version (e.g. borgbackup). Bundling helps in case there is an (incompatible) version of msgpack in a system-wide install.
This commit is contained in:
parent
737f08a885
commit
05ff11dbcc
4 changed files with 10 additions and 10 deletions
|
@ -59,7 +59,7 @@ else:
|
|||
newlist_hint = lambda size: []
|
||||
|
||||
|
||||
from msgpack.exceptions import (
|
||||
from .exceptions import (
|
||||
BufferFull,
|
||||
OutOfData,
|
||||
ExtraData,
|
||||
|
@ -67,7 +67,7 @@ from msgpack.exceptions import (
|
|||
StackError,
|
||||
)
|
||||
|
||||
from msgpack import ExtType
|
||||
from . import ExtType
|
||||
|
||||
|
||||
EX_SKIP = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue