diff --git a/kombu/connection.py b/kombu/connection.py index 6ae31ed2..0d0a6a81 100644 --- a/kombu/connection.py +++ b/kombu/connection.py @@ -263,7 +263,7 @@ class BrokerConnection(object): :class:`~kombu.entity.Queue`. :keyword exchange_opts: Additional keyword arguments passed to the constructor of the automatically created - :class:`~kombu.entity.Exchange. + :class:`~kombu.entity.Exchange`. :keyword channel: Channel to use. If not specified a new channel from the current connection will be used. Remember to call :meth:`~kombu.simple.SimpleQueue.close` when done with the diff --git a/kombu/messaging.py b/kombu/messaging.py index 9b47df9a..97c4666e 100644 --- a/kombu/messaging.py +++ b/kombu/messaging.py @@ -21,7 +21,7 @@ class Producer(object): :keyword on_return: Callback to call for undeliverable messages, when ``mandatory`` or ``imediate`` is used. This callback needs the following signature: - ``(exception, exchange, routing_key, message). + ``(exception, exchange, routing_key, message)``. .. attribute:: channel