diff options
author | Gabriel Niebler <der-gabe@users.noreply.github.com> | 2021-03-16 08:11:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 13:11:47 +0600 |
commit | e0fb1f1123ede962cbbdf2075a1a9a2d0a086cf6 (patch) | |
tree | 562f7f00eddd3cf05296e83530726e74f155c37e /docs | |
parent | 1e20625d7b7c707b966d6450a32e2d7e58d8da6a (diff) | |
download | kombu-e0fb1f1123ede962cbbdf2075a1a9a2d0a086cf6.tar.gz |
Fix tiny mistake in introduction (#1312)
* Fix tiny mistake in introduction
… at least I _think_ it's a mistake.
* Remove unused import in code example
* Fix minor grammatical errors
Diffstat (limited to 'docs')
-rw-r--r-- | docs/includes/introduction.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/includes/introduction.txt b/docs/includes/introduction.txt index ad05faa2..0c9bb92d 100644 --- a/docs/includes/introduction.txt +++ b/docs/includes/introduction.txt @@ -173,7 +173,7 @@ Or handle channels manually: with connection.channel() as channel: producer = Producer(channel, ...) - consumer = Producer(channel) + consumer = Consumer(channel) All objects can be used outside of with statements too, @@ -181,7 +181,7 @@ just remember to close the objects after use: .. code-block:: python - from kombu import Connection, Consumer, Producer + from kombu import Connection, Consumer connection = Connection() # ... @@ -235,7 +235,7 @@ There are some concepts you should be familiar with before starting: * Consumers - Consumers declares a queue, binds it to a exchange and receives + A consumer declares a queue, binds it to an exchange and receives messages from it. * Queues |