summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2015-12-18 08:25:00 -0800
committerDana Powers <dana.powers@gmail.com>2015-12-18 08:25:00 -0800
commit680bd71755ed28ab5761d94f812aff562d3f4a5b (patch)
tree2f9f016debc62a4606ff05c0ca16ca1a0f1eb186
parent04a3a32eb724fee8c6c21195ea005fe8f35e9fb7 (diff)
parenta3c85ddf91536d15a3cb465ac910f95869c20587 (diff)
downloadkafka-python-680bd71755ed28ab5761d94f812aff562d3f4a5b.tar.gz
Merge pull request #490 from mre/patch-1
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.