From 38c5bb36660a3650776d5196e625e9e279231f64 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 14 Jan 2015 21:53:13 -0800 Subject: [PATCH] Fix a docstring --- beetsplug/smartplaylist.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/beetsplug/smartplaylist.py b/beetsplug/smartplaylist.py index 3b5be2149..3bc18fa69 100644 --- a/beetsplug/smartplaylist.py +++ b/beetsplug/smartplaylist.py @@ -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):