Fix a docstring

This commit is contained in:
Adrian Sampson 2015-01-14 21:53:13 -08:00
parent 0c3675ada0
commit 38c5bb3666

View file

@ -24,8 +24,11 @@ import os
def _items_for_query(lib, queries, album):
"""Get the matching items for a query.
`album` indicates whether the queries are item-level or album-level.
"""Get the matching items for a list of queries.
`queries` can either be a single string or a list of strings. In the
latter case, the results from each query are concatenated. `album`
indicates whether the queries are item-level or album-level.
"""
request = lib.albums if album else lib.items
if isinstance(queries, basestring):