summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 8925a65..94a4bb2 100644
--- a/README.rst
+++ b/README.rst
@@ -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)