Skip to content

Commit

Permalink
Fix a docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Jan 15, 2015
1 parent 0c3675a commit 38c5bb3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions beetsplug/smartplaylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@


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):
Expand Down

0 comments on commit 38c5bb3

Please sign in to comment.