See 
https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Literals#The_%_Notation 
for what Ruby offers.

For me, the arrays are the most useful aspect.

    %w{one two three}
    => ["one", "two", "three"]

I did a search, and I don't see that this has been suggested before, but I 
might have missed something. I'm guessing I'm not the first person to ask 
whether this seems like a desirable feature to add to Python.
_______________________________________________
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/D5RMXPN3NXVM2OJIAJ2NSBII6UJGDVDZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to