diff options
author | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2019-05-12 14:44:32 +0200 |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-05-12 21:44:32 +0900 |
commit | 05ff11dbcc8181cc781b121e46e76a01258a32af (patch) | |
tree | c972ea0cbd95fbe7c1f396d9958b5d4419a8f1d1 /msgpack/_unpacker.pyx | |
parent | 737f08a885dcff32aa1a417a45936d7f7810ee37 (diff) | |
download | msgpack-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.pyx | 4 |
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": |