Document what should happen if library.lookup() fails

This commit is contained in:
Stein Magnus Jodal 2010-05-04 21:30:58 +02:00
parent a3498ba5d6
commit 597ea290ae

View File

@ -273,11 +273,11 @@ class BaseLibraryController(object):
def lookup(self, uri): def lookup(self, uri):
""" """
Lookup track with given URI. Lookup track with given URI. Returns :class:`None` if not found.
:param uri: track URI :param uri: track URI
:type uri: string :type uri: string
:rtype: :class:`mopidy.models.Track` :rtype: :class:`mopidy.models.Track` or :class:`None`
""" """
raise NotImplementedError raise NotImplementedError