summaryrefslogtreecommitdiff
path: root/docs/usage.rst
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-04-05 09:34:48 -0700
committerDana Powers <dana.powers@gmail.com>2016-04-05 09:35:45 -0700
commit5a14bd8c947251d1a8f848175cc3cf2b07af3411 (patch)
treea251ddbc60c84405762365429de9b04727653e6c /docs/usage.rst
parent221f56d8a05cdc2d37f85018e4af352b4b2a95c5 (diff)
downloadkafka-python-5a14bd8c947251d1a8f848175cc3cf2b07af3411.tar.gz
Update imports from kafka.common -> kafka.errors / kafka.structs
Diffstat (limited to 'docs/usage.rst')
-rw-r--r--docs/usage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/usage.rst b/docs/usage.rst
index 85fc44f..0ee9894 100644
--- a/docs/usage.rst
+++ b/docs/usage.rst
@@ -56,7 +56,7 @@ KafkaProducer
.. code:: python
from kafka import KafkaProducer
- from kafka.common import KafkaError
+ from kafka.errors import KafkaError
producer = KafkaProducer(bootstrap_servers=['broker1:1234'])