diff options
author | INADA Naoki <songofacandy@gmail.com> | 2013-10-17 08:44:25 +0900 |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2013-10-17 08:44:25 +0900 |
commit | 171c5381135bdfc6db154100ad5a9913955408a7 (patch) | |
tree | ea47f538fd263e11e2a077e7ce56a170cd8ce55f /msgpack/fallback.py | |
parent | da12e177a31445492795f4003bbe0328645325b2 (diff) | |
download | msgpack-python-171c5381135bdfc6db154100ad5a9913955408a7.tar.gz |
refactoring.
Diffstat (limited to 'msgpack/fallback.py')
-rw-r--r-- | msgpack/fallback.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/msgpack/fallback.py b/msgpack/fallback.py index 8f9d646..3bf0489 100644 --- a/msgpack/fallback.py +++ b/msgpack/fallback.py @@ -60,23 +60,6 @@ TYPE_RAW = 3 DEFAULT_RECURSE_LIMIT=511 -def pack(o, stream, **kwargs): - """ - Pack object `o` and write it to `stream` - - See :class:`Packer` for options. - """ - packer = Packer(**kwargs) - stream.write(packer.pack(o)) - -def packb(o, **kwargs): - """ - Pack object `o` and return packed bytes - - See :class:`Packer` for options. - """ - return Packer(**kwargs).pack(o) - def unpack(stream, **kwargs): """ Unpack an object from `stream`. |