From 38158b4430e03c62e512224a3ba8da9bd199b3cb Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 12 Feb 2015 22:48:05 +0100 Subject: [PATCH] local: Minor docstring review corrections --- mopidy/local/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy/local/__init__.py b/mopidy/local/__init__.py index 2ec8b79e..31ec6426 100644 --- a/mopidy/local/__init__.py +++ b/mopidy/local/__init__.py @@ -70,8 +70,8 @@ class Library(object): #: Name of the local library implementation, must be overriden. name = None - #: Feature marker to indicate that you want add calls to be called with - #: optional arguments tags and duration. + #: Feature marker to indicate that you want :meth:`add()` calls to be + #: called with optional arguments tags and duration. add_supports_tags_and_duration = False def __init__(self, config): @@ -142,7 +142,7 @@ class Library(object): def add(self, track, tags=None, duration=None): """ Add the given track to library. Optional args will only be added if - `add_supports_tags_and_duration` has been set. + :attr:`add_supports_tags_and_duration` has been set. :param track: Track to add to the library :type track: :class:`~mopidy.models.Track`