Fix stream unpacking example in README (#317)

This commit is contained in:
Marat Sharafutdinov 2018-11-04 19:14:11 +03:00 committed by INADA Naoki
parent 205f7d39b2
commit b077a21f89

View file

@ -142,7 +142,7 @@ stream (or from bytes provided through its ``feed`` method).
buf = BytesIO()
for i in range(100):
buf.write(msgpack.packb(range(i), use_bin_type=True))
buf.write(msgpack.packb(i, use_bin_type=True))
buf.seek(0)