summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index eb8f429..b98f119 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -61,7 +61,6 @@ that expose basic message attributes: topic, partition, offset, key, and value:
>>> consumer = KafkaConsumer(value_deserializer=msgpack.loads)
>>> consumer.subscribe(['msgpackfoo'])
>>> for msg in consumer:
-... msg = next(consumer)
... assert isinstance(msg.value, dict)