mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Fix stream unpacking example in README (#317)
This commit is contained in:
parent
205f7d39b2
commit
b077a21f89
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue