Rename to with_() since with is reserved in Python >=2.6
This commit is contained in:
parent
b6bceacc0f
commit
682b14c13c
@ -218,7 +218,7 @@ class Playlist(object):
|
|||||||
tracks.append(track.mpd_format(position))
|
tracks.append(track.mpd_format(position))
|
||||||
return tracks
|
return tracks
|
||||||
|
|
||||||
def with(self, uri=None, name=None, tracks=None):
|
def with_(self, uri=None, name=None, tracks=None):
|
||||||
"""
|
"""
|
||||||
Create a new playlist object with the given values. The values that are
|
Create a new playlist object with the given values. The values that are
|
||||||
not given are taken from the object the method is called on.
|
not given are taken from the object the method is called on.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user