summaryrefslogtreecommitdiff
path: root/msgpack/_unpacker.pyx
diff options
context:
space:
mode:
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>2019-05-12 14:44:32 +0200
committerInada Naoki <songofacandy@gmail.com>2019-05-12 21:44:32 +0900
commit05ff11dbcc8181cc781b121e46e76a01258a32af (patch)
treec972ea0cbd95fbe7c1f396d9958b5d4419a8f1d1 /msgpack/_unpacker.pyx
parent737f08a885dcff32aa1a417a45936d7f7810ee37 (diff)
downloadmsgpack-python-05ff11dbcc8181cc781b121e46e76a01258a32af.tar.gz
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.
Diffstat (limited to 'msgpack/_unpacker.pyx')
-rw-r--r--msgpack/_unpacker.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/msgpack/_unpacker.pyx b/msgpack/_unpacker.pyx
index 3c6d59e..3727f50 100644
--- a/msgpack/_unpacker.pyx
+++ b/msgpack/_unpacker.pyx
@@ -12,14 +12,14 @@ from libc.string cimport *
from libc.limits cimport *
ctypedef unsigned long long uint64_t
-from msgpack.exceptions import (
+from .exceptions import (
BufferFull,
OutOfData,
ExtraData,
FormatError,
StackError,
)
-from msgpack import ExtType
+from . import ExtType
cdef extern from "unpack.h":