@@ -139,7 +139,7 @@ class Unpacker:
139
139
140
140
:param file_like:
141
141
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.
143
143
144
144
:param int read_size:
145
145
Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)
@@ -163,12 +163,12 @@ class Unpacker:
163
163
:param bool strict_map_key:
164
164
If true (default), only str or bytes are accepted for map (dict) keys.
165
165
166
- :param callable object_hook:
166
+ :param object_hook:
167
167
When specified, it should be callable.
168
168
Unpacker calls it with a dict argument after unpacking msgpack map.
169
169
(See also simplejson)
170
170
171
- :param callable object_pairs_hook:
171
+ :param object_pairs_hook:
172
172
When specified, it should be callable.
173
173
Unpacker calls it with a list of key-value pairs after unpacking msgpack map.
174
174
(See also simplejson)
@@ -616,7 +616,8 @@ class Packer:
616
616
617
617
Packer's constructor has some keyword arguments:
618
618
619
- :param callable default:
619
+ :param default:
620
+ When specified, it should be callable.
620
621
Convert user type to builtin type that Packer supports.
621
622
See also simplejson's document.
622
623
0 commit comments