Docstring (returns) style fixed to render properly
@@ -729,7 +729,7 @@ class Celery(object):
:keyword failover_strategy: Custom failover strategy.
:keyword \*\*kwargs: Additional arguments to :class:`kombu.Connection`.
- :returns :class:`kombu.Connection`:
+ :returns: :class:`kombu.Connection`
"""
return self.connection_for_write(
@@ -373,7 +373,7 @@ class Task(object):
:param \*args: positional arguments passed on to the task.
:param \*\*kwargs: keyword arguments passed on to the task.
- :returns :class:`celery.result.AsyncResult`:
+ :returns: :class:`celery.result.AsyncResult`
return self.apply_async(args, kwargs)
@@ -26,7 +26,7 @@ def mro_lookup(cls, attr, stop=set(), monkey_patched=[]):
attributes module origin is not in this list, this to detect
monkey patched attributes.
- :returns None: if the attribute was not found.
+ :returns: None if the attribute was not found.
for node in cls.mro():