summaryrefslogtreecommitdiff
path: root/msgpack/_packer.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/_packer.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/_packer.pyx')
-rw-r--r--msgpack/_packer.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx
index bfde043..dcee213 100644
--- a/msgpack/_packer.pyx
+++ b/msgpack/_packer.pyx
@@ -3,7 +3,7 @@
from cpython cimport *
from cpython.bytearray cimport PyByteArray_Check, PyByteArray_CheckExact
-from msgpack import ExtType
+from . import ExtType
cdef extern from "Python.h":