David Mertz wrote: > One big problem with the current obvious way would be shared by the > proposal. This hits me fairly often. > colors1 = "red green blue".split() # happy > Later > colors2 = "cyan forest green burnt umber".split() > # oops, not what I wanted, quote each separately
Good point. In Ruby, this could be written correctly as `%w{cyan forest green burnt\ umber}` _______________________________________________ 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/S2LVHO53ZCJVZJFNSYU5NREECGM4VHDS/ Code of Conduct: http://python.org/psf/codeofconduct/