Add note for StopIteration => OutOfData.

This commit is contained in:
INADA Naoki
2012-12-10 00:35:26 +09:00
parent 219d47503c
commit c7161e9403

View File

@@ -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
-----------