mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-04-12 22:10:19 +00:00
remove deprecated api.
This commit is contained in:
parent
288e820293
commit
dd5b1e265a
2 changed files with 3 additions and 11 deletions
|
|
@ -9,12 +9,3 @@ loads = unpackb
|
|||
dump = pack
|
||||
dumps = packb
|
||||
|
||||
def packs(*args, **kw):
|
||||
from warnings import warn
|
||||
warn("msgpack.packs() is deprecated. Use packb() instead.", DeprecationWarning)
|
||||
return packb(*args, **kw)
|
||||
|
||||
def unpacks(*args, **kw):
|
||||
from warnings import warn
|
||||
warn("msgpack.unpacks() is deprecated. Use unpackb() instead.", DeprecationWarning)
|
||||
return unpackb(*args, **kw)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue