8000 python: Fix typo in docstring. (thanks to Mateusz.) · scott2b/msgpack-python@56aaed3 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 56aaed3

Browse files
committed
python: Fix typo in docstring. (thanks to Mateusz.)
1 parent 8e38a07 commit 56aaed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack/_msgpack.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ cdef class Unpacker(object):
264264
self.ctx.user.object_hook = <PyObject*>object_hook
265265
if list_hook is not None:
266266
if not PyCallable_Check(list_hook):
267-
raise TypeError("object_hook must be a callable.")
267+
raise TypeError("list_hook must be a callable.")
268268
self.ctx.user.list_hook = <PyObject*>list_hook
269269

270270
def feed(self, object next_bytes):

0 commit comments

Comments
 (0)
0