local: Minor docstring review corrections

This commit is contained in:
Thomas Adamcik 2015-02-12 22:48:05 +01:00
parent 663cdf929d
commit 38158b4430

View File

@ -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`