summaryrefslogtreecommitdiff
path: root/msgpack/_unpacker.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'msgpack/_unpacker.pyx')
-rw-r--r--msgpack/_unpacker.pyx8
1 files changed, 0 insertions, 8 deletions
diff --git a/msgpack/_unpacker.pyx b/msgpack/_unpacker.pyx
index 3c9b7b3..3a9d494 100644
--- a/msgpack/_unpacker.pyx
+++ b/msgpack/_unpacker.pyx
@@ -200,14 +200,6 @@ def unpackb(object packed, *, object object_hook=None, object list_hook=None,
raise ValueError("Unpack failed: error = %d" % (ret,))
-def unpack(object stream, **kwargs):
- PyErr_WarnEx(
- DeprecationWarning,
- "Direct calling implementation's unpack() is deprecated, Use msgpack.unpack() or unpackb() instead.", 1)
- data = stream.read()
- return unpackb(data, **kwargs)
-
-
cdef class Unpacker(object):
"""Streaming unpacker.