

def __repr__(self):
    if (not self.is_loaded):
        return 'Playlist(<not loaded>)'
    try:
        return ('Playlist(%r)' % exc.link.uri)
    except spotify.Error as exc:
        return ('Playlist(<error: %s>)' % exc)

dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py Playlist.__repr__/VarMisuse@32/48 `self`->`exc`