summaryrefslogtreecommitdiff
path: root/msgpack
diff options
context:
space:
mode:
Diffstat (limited to 'msgpack')
-rw-r--r--msgpack/fallback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/fallback.py b/msgpack/fallback.py
index a02cbe1..28478ca 100644
--- a/msgpack/fallback.py
+++ b/msgpack/fallback.py
@@ -795,7 +795,7 @@ class Packer(object):
obj = self._default(obj)
default_used = 1
continue
- raise TypeError("Cannot serialize %r" % obj)
+ raise TypeError("Cannot serialize %r" % (obj, ))
def pack(self, obj):
self._pack(obj)