From 56aaed36416ebe8f7df670d21b04219e67e6e2c9 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Mon, 10 Jan 2011 05:05:14 +0900 Subject: python: Fix typo in docstring. (thanks to Mateusz.) --- msgpack/_msgpack.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'msgpack/_msgpack.pyx') diff --git a/msgpack/_msgpack.pyx b/msgpack/_msgpack.pyx index 0dd926f..c7eec81 100644 --- a/msgpack/_msgpack.pyx +++ b/msgpack/_msgpack.pyx @@ -264,7 +264,7 @@ cdef class Unpacker(object): self.ctx.user.object_hook = object_hook if list_hook is not None: if not PyCallable_Check(list_hook): - raise TypeError("object_hook must be a callable.") + raise TypeError("list_hook must be a callable.") self.ctx.user.list_hook = list_hook def feed(self, object next_bytes): -- cgit v1.2.1