summaryrefslogtreecommitdiff
path: root/msgpack/fallback.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2013-10-17 08:44:25 +0900
committerINADA Naoki <songofacandy@gmail.com>2013-10-17 08:44:25 +0900
commit171c5381135bdfc6db154100ad5a9913955408a7 (patch)
treeea47f538fd263e11e2a077e7ce56a170cd8ce55f /msgpack/fallback.py
parentda12e177a31445492795f4003bbe0328645325b2 (diff)
downloadmsgpack-python-171c5381135bdfc6db154100ad5a9913955408a7.tar.gz
refactoring.
Diffstat (limited to 'msgpack/fallback.py')
-rw-r--r--msgpack/fallback.py17
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`.