Skip to content

Commit 8361fd8

Browse files
committed
Remove extra alias.
1 parent a9483d8 commit 8361fd8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

msgpack/_msgpack.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ def packb(object o, default=None, encoding='utf-8', unicode_errors='strict'):
168168
packer = Packer(default=default, encoding=encoding, unicode_errors=unicode_errors)
169169
return packer.pack(o)
170170

171-
dumps = packs = packb
172171

173172
cdef extern from "unpack.h":
174173
ctypedef struct msgpack_user:
@@ -239,7 +238,6 @@ def unpackb(object packed, object object_hook=None, object list_hook=None, bint
239238
else:
240239
return None
241240

242-
loads = unpacks = unpackb
243241

244242
def unpack(object stream, object object_hook=None, object list_hook=None, bint use_list=0, encoding=None, unicode_errors="strict"):
245243
"""unpack an object from stream."""

0 commit comments

Comments
 (0)