summaryrefslogtreecommitdiff
path: root/msgpack/_msgpack.pyx
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2011-01-10 05:05:14 +0900
committerINADA Naoki <songofacandy@gmail.com>2011-01-10 05:05:14 +0900
commit56aaed36416ebe8f7df670d21b04219e67e6e2c9 (patch)
treefa115fe38b512c7bdc40da9ec3e9e50905f98621 /msgpack/_msgpack.pyx
parent8e38a074bbc5d3546c0eb049b838aa3afa3c5f3a (diff)
downloadmsgpack-python-56aaed36416ebe8f7df670d21b04219e67e6e2c9.tar.gz
python: Fix typo in docstring. (thanks to Mateusz.)
Diffstat (limited to 'msgpack/_msgpack.pyx')
-rw-r--r--msgpack/_msgpack.pyx2
1 files changed, 1 insertions, 1 deletions
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 = <PyObject*>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 = <PyObject*>list_hook
def feed(self, object next_bytes):