From 08bdf5c14bc7790be31586cc1c32852fedb6a777 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Wed, 18 Mar 2015 00:10:45 +0100 Subject: [PATCH] core: Update library.lookup() docstring --- mopidy/core/library.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mopidy/core/library.py b/mopidy/core/library.py index 906618d8..ec94dccf 100644 --- a/mopidy/core/library.py +++ b/mopidy/core/library.py @@ -173,8 +173,13 @@ class LibraryController(object): :type uri: string or :class:`None` :param uris: track URIs :type uris: list of string or :class:`None` - :rtype: list of :class:`mopidy.models.Track` if uri was set or a - ``{uri: list of tracks}`` if uris was set. + :rtype: {uri: list of :class:`mopidy.models.Track`} + + .. versionadded:: 0.20 + The ``uris`` argument. + + .. deprecated:: 0.20 + The ``uri`` argument. Use ``uris`` instead. """ none_set = uri is None and uris is None both_set = uri is not None and uris is not None