From a1b3afabf4017cfecf9abcaae4f44909b506bc99 Mon Sep 17 00:00:00 2001 From: Hugh Rawlinson Date: Sun, 8 May 2016 11:01:05 +0100 Subject: [PATCH] Fixes a small example error --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 5889bc4..34e7187 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -202,7 +202,7 @@ Shows the contents of every playlist owned by a user:: import spotipy import spotipy.util as util - def show_tracks(results): + def show_tracks(tracks): for i, item in enumerate(tracks['items']): track = item['track'] print " %d %32.32s %s" % (i, track['artists'][0]['name'],