From a94ce3c7151f2cde58c00d72f2998f0782e7446d Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Mon, 10 Jan 2011 05:05:14 +0900 Subject: [PATCH] python: Fix typo in docstring. (thanks to Mateusz.) --- python/msgpack/_msgpack.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/msgpack/_msgpack.pyx b/python/msgpack/_msgpack.pyx index 0dd926fa..c7eec817 100644 --- a/python/msgpack/_msgpack.pyx +++ b/python/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):