Soni L. writes: > so I propose a \z string escape which lets me write the above as shown > below: > > """switches to toml config format. the old 'repos' \z > table is preserved as 'repos_old'"""
We already have that, if you don't care about left-alignment: >>> """123456789\ ... abcdefghi""" '123456789abcdefghi' >>> So '\z' would only give us removal of indentation whitespace from the string. Too much magic, and it has the same problem that trailing '\' has: most people will have to intentionally look for it to see it (though it's easier to spot than trailing '\' for me). That's a -1 for me. Steve _______________________________________________ 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/2FTJ2G3PR7KIODJTWL5SUIM3ZFMAXSSE/ Code of Conduct: http://python.org/psf/codeofconduct/