Skip to content
Snippets Groups Projects
Commit 667c3bc8 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Fix the warning docstring [ci skip]

parent a9405731
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -83,9 +83,9 @@ class Queue(base.AMQPClass):
"""Create a new Queue object instance. Only the
:class:`rabbitpy.Channel` object is required.
 
.. warning:: You should only use a single `Queue` instance per channel
when consuming or getting messages. Failure to do so can have
unintended consequences.
.. warning:: You should only use a single `:class:~rabbitpy.Queue`
instance per channel when consuming or getting messages.
Failure to do so can have unintended consequences.
 
"""
super(Queue, self).__init__(channel, name)
Loading
Loading
@@ -109,9 +109,9 @@ class Queue(base.AMQPClass):
"""Quick way to consume messages using defaults of no_ack=False,
prefetch and priority not set.
 
.. warning:: You should only use a single `Queue` instance per channel
when consuming or getting messages. Failure to do so can have
unintended consequences.
.. warning:: You should only use a single `:class:~rabbitpy.Queue`
instance per channel when consuming or getting messages.
Failure to do so can have unintended consequences.
 
:yields: rabbitpy.message.Message
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment