Skip to content

Commit

Permalink
Add channel definition code to 1-introduction.rst
Browse files Browse the repository at this point in the history
To sync aio-pika's tutorial example with official tutorial's example
  • Loading branch information
e-kondr01 authored Jan 12, 2024
1 parent d8d944a commit d34c288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/rabbitmq-tutorial/1-introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ thing we need to do is to establish a connection with RabbitMQ server.

.. literalinclude:: examples/1-introduction/send.py
:language: python
:lines: 5-8
:lines: 5-12

We're connected now, to a broker on the local machine - hence the localhost.
If we wanted to connect to a broker on a different machine we'd simply specify
Expand Down

0 comments on commit d34c288

Please sign in to comment.