summaryrefslogtreecommitdiff
path: root/msgpack/fallback.py
diff options
context:
space:
mode:
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`.