mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-12-08 06:09:49 +00:00
Add note for StopIteration => OutOfData.
This commit is contained in:
parent
219d47503c
commit
c7161e9403
1 changed files with 6 additions and 0 deletions
|
|
@ -19,9 +19,15 @@ writing MessagePack data.
|
|||
NOTE for msgpack 0.2.x users
|
||||
----------------------------
|
||||
|
||||
The msgpack 0.3 have some incompatible changes.
|
||||
|
||||
The default value of ``use_list`` keyword argument is ``True`` from 0.3.x.
|
||||
You should pass the argument explicitly for backward compatibility.
|
||||
|
||||
`Unpacker.unpack()` and some unpack methods now raises `OutOfData`
|
||||
instead of `StopIteration`.
|
||||
`StopIteration` is used for iterator protocol only.
|
||||
|
||||
|
||||
HOW TO USE
|
||||
-----------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue