summaryrefslogtreecommitdiff
path: root/msgpack/__init__.py
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2013-10-20 20:28:32 +0900
committerINADA Naoki <inada-n@klab.com>2013-10-20 20:28:32 +0900
commit96bcd76f49afd00f5b7def1ff7cfd002a7fa477d (patch)
treeba89ca218c7c3f0463d451254ed23eed48b4fe6a /msgpack/__init__.py
parentaa68c9b8330b130d600b22ec47d5c3841499b536 (diff)
downloadmsgpack-python-96bcd76f49afd00f5b7def1ff7cfd002a7fa477d.tar.gz
Packing ExtType and some cleanup
Diffstat (limited to 'msgpack/__init__.py')
-rw-r--r--msgpack/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/__init__.py b/msgpack/__init__.py
index 79107b6..a7b47b1 100644
--- a/msgpack/__init__.py
+++ b/msgpack/__init__.py
@@ -26,6 +26,7 @@ def pack(o, stream, **kwargs):
packer = Packer(**kwargs)
stream.write(packer.pack(o))
+
def packb(o, **kwargs):
"""
Pack object `o` and return packed bytes
@@ -40,4 +41,3 @@ loads = unpackb
dump = pack
dumps = packb
-