Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tiny mistake in introduction #1312

Merged
merged 3 commits into from
Mar 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/includes/introduction.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ 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,
just remember to close the objects after use:

.. code-block:: python

from kombu import Connection, Consumer, Producer
from kombu import Connection, Consumer

connection = Connection()
# ...
Expand Down Expand Up @@ -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
Expand Down