@@ -139,7 +139,7 @@ class Unpacker:
139139
140140 :param file_like:
141141 File-like object having `.read(n)` method.
142- If specified, unpacker reads serialized data from it and :meth:` feed()` is not usable.
142+ If specified, unpacker reads serialized data from it and `. feed()` is not usable.
143143
144144 :param int read_size:
145145 Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)
@@ -163,12 +163,12 @@ class Unpacker:
163163 :param bool strict_map_key:
164164 If true (default), only str or bytes are accepted for map (dict) keys.
165165
166- :param callable object_hook:
166+ :param object_hook:
167167 When specified, it should be callable.
168168 Unpacker calls it with a dict argument after unpacking msgpack map.
169169 (See also simplejson)
170170
171- :param callable object_pairs_hook:
171+ :param object_pairs_hook:
172172 When specified, it should be callable.
173173 Unpacker calls it with a list of key-value pairs after unpacking msgpack map.
174174 (See also simplejson)
@@ -616,7 +616,8 @@ class Packer:
616616
617617 Packer's constructor has some keyword arguments:
618618
619- :param callable default:
619+ :param default:
620+ When specified, it should be callable.
620621 Convert user type to builtin type that Packer supports.
621622 See also simplejson's document.
622623
0 commit comments