

def rename(self, new_name):
    'Rename the playlist.'
    spotify.Error.maybe_raise(lib.sp_playlist_rename(self._sp_playlist, utils.to_char(self)))

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