fix docstring for read_size (#700)

fix #697
This commit is contained in:
Inada Naoki 2026-06-19 18:49:02 +09:00 committed by GitHub
parent 448d43f5dc
commit f1a170234a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -15,3 +15,4 @@ msgpack/*.cpp
/tags
/docs/_build
.cache
uv.lock

View file

@ -222,7 +222,7 @@ cdef class Unpacker:
If specified, unpacker reads serialized data from it and `.feed()` is not usable.
:param int read_size:
Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)
Used as `file_like.read(read_size)`. Must be equal to or smaller than *max_buffer_size*.
:param bool use_list:
If true, unpack msgpack array to Python list.

View file

@ -137,7 +137,7 @@ class Unpacker:
If specified, unpacker reads serialized data from it and `.feed()` is not usable.
:param int read_size:
Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)
Used as `file_like.read(read_size)`. Must be equal to or smaller than *max_buffer_size*.
:param bool use_list:
If true, unpack msgpack array to Python list.