summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Endler <matthias-endler@gmx.net>2015-12-18 17:03:27 +0100
committerMatthias Endler <matthias-endler@gmx.net>2015-12-18 17:03:27 +0100
commita3c85ddf91536d15a3cb465ac910f95869c20587 (patch)
tree2f9f016debc62a4606ff05c0ca16ca1a0f1eb186
parent04a3a32eb724fee8c6c21195ea005fe8f35e9fb7 (diff)
downloadkafka-python-a3c85ddf91536d15a3cb465ac910f95869c20587.tar.gz
Fix typo in docblock
-rw-r--r--kafka/codec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/codec.py b/kafka/codec.py
index a9373c7..c01fe20 100644
--- a/kafka/codec.py
+++ b/kafka/codec.py
@@ -69,7 +69,7 @@ def snappy_encode(payload, xerial_compatible=False, xerial_blocksize=32 * 1024):
| 16 bytes | BE int32 | snappy bytes | BE int32 | snappy bytes |
+-------------+------------+--------------+------------+--------------+
- It is important to not that the blocksize is the amount of uncompressed
+ It is important to note that the blocksize is the amount of uncompressed
data presented to snappy at each block, whereas the blocklen is the
number of bytes that will be present in the stream, that is the
length will always be <= blocksize.