mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-20 05:27:56 +01:00
python: Fix typo in docstring. (thanks to Mateusz.)
This commit is contained in:
parent
a440ff1117
commit
a94ce3c715
@ -264,7 +264,7 @@ cdef class Unpacker(object):
|
|||||||
self.ctx.user.object_hook = <PyObject*>object_hook
|
self.ctx.user.object_hook = <PyObject*>object_hook
|
||||||
if list_hook is not None:
|
if list_hook is not None:
|
||||||
if not PyCallable_Check(list_hook):
|
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
|
self.ctx.user.list_hook = <PyObject*>list_hook
|
||||||
|
|
||||||
def feed(self, object next_bytes):
|
def feed(self, object next_bytes):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user