Todd wrote:
> Compare that to:
> colors2 = "cyan,forest green,burnt umber".split(',')
> or, if you follow pep8-style commas:
> colors2 = "cyan, forest green, burnt umber".split(', ')
> This is one of the many cases where being able to specify the delimiter
> helps.

That's a very useful suggestion. :)
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/Z77PBQ4ME2U7LZAUY5WJJBZHSVASGTEB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to