diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-12-05 20:47:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 20:47:01 +0900 |
commit | 9f4b2d53b77c5ccd96e3ceb359747960cbf03bd4 (patch) | |
tree | 148fa54367f52794bf3124a6ece3d0d43b493e20 /msgpack/fallback.py | |
parent | 9ae43709e42092c7f6a4e990d696d9005fa1623d (diff) | |
download | msgpack-python-9f4b2d53b77c5ccd96e3ceb359747960cbf03bd4.tar.gz |
Remove deprecated submodule unpack (#385)
Diffstat (limited to 'msgpack/fallback.py')
-rw-r--r-- | msgpack/fallback.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/msgpack/fallback.py b/msgpack/fallback.py index 577e571..3faacbf 100644 --- a/msgpack/fallback.py +++ b/msgpack/fallback.py @@ -131,16 +131,6 @@ def _get_data_from_buffer(obj): return view -def unpack(stream, **kwargs): - warnings.warn( - "Direct calling implementation's unpack() is deprecated, Use msgpack.unpack() or unpackb() instead.", - DeprecationWarning, - stacklevel=2, - ) - data = stream.read() - return unpackb(data, **kwargs) - - def unpackb(packed, **kwargs): """ Unpack an object from `packed`. |