summaryrefslogtreecommitdiff
path: root/msgpack/_msgpack.pyx
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2011-08-22 03:38:16 +0900
committerINADA Naoki <songofacandy@gmail.com>2011-08-22 03:38:16 +0900
commit8361fd8da65bb1dd939edec390a6ced969413129 (patch)
tree2d7148ba5d1768c92742fd2aecc4e6238bd8c7aa /msgpack/_msgpack.pyx
parenta9483d860b0c7188cc409f2e94b0c022658d4dba (diff)
downloadmsgpack-python-8361fd8da65bb1dd939edec390a6ced969413129.tar.gz
Remove extra alias.
Diffstat (limited to 'msgpack/_msgpack.pyx')
-rw-r--r--msgpack/_msgpack.pyx2
1 files changed, 0 insertions, 2 deletions
diff --git a/msgpack/_msgpack.pyx b/msgpack/_msgpack.pyx
index 5a83ea0..ae9b69f 100644
--- a/msgpack/_msgpack.pyx
+++ b/msgpack/_msgpack.pyx
@@ -168,7 +168,6 @@ def packb(object o, default=None, encoding='utf-8', unicode_errors='strict'):
packer = Packer(default=default, encoding=encoding, unicode_errors=unicode_errors)
return packer.pack(o)
-dumps = packs = packb
cdef extern from "unpack.h":
ctypedef struct msgpack_user:
@@ -239,7 +238,6 @@ def unpackb(object packed, object object_hook=None, object list_hook=None, bint
else:
return None
-loads = unpacks = unpackb
def unpack(object stream, object object_hook=None, object list_hook=None, bint use_list=0, encoding=None, unicode_errors="strict"):
"""unpack an object from stream."""