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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/S2LVHO53ZCJVZJFNSYU5NREECGM4VHDS/
Code of Conduct: http://python.org/psf/codeofconduct/