diff options
author | INADA Naoki <inada-n@klab.com> | 2013-10-20 20:28:32 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2013-10-20 20:28:32 +0900 |
commit | 96bcd76f49afd00f5b7def1ff7cfd002a7fa477d (patch) | |
tree | ba89ca218c7c3f0463d451254ed23eed48b4fe6a /msgpack/__init__.py | |
parent | aa68c9b8330b130d600b22ec47d5c3841499b536 (diff) | |
download | msgpack-python-96bcd76f49afd00f5b7def1ff7cfd002a7fa477d.tar.gz |
Packing ExtType and some cleanup
Diffstat (limited to 'msgpack/__init__.py')
-rw-r--r-- | msgpack/__init__.py | 2 |
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 - |