py2to3 automatic conversion. Woot!
This commit is contained in:
@@ -5,5 +5,5 @@ def formatList(words):
|
||||
if len(words) == 1:
|
||||
return words[0]
|
||||
last = words[-1:][0]
|
||||
beginning = u", ".join(words[:-1])
|
||||
return u"{0} and {1}".format(beginning, last)
|
||||
beginning = ", ".join(words[:-1])
|
||||
return "{0} and {1}".format(beginning, last)
|
||||
|
||||
Reference in New Issue
Block a user