On Wed, Jun 17, 2020 at 6:09 AM Soni L. <[email protected]> wrote:
> This also gives us two ways of doing indented strings (in Lua):
>
> local ugly = "foo\n \z
> bar\n \z
> baz"
> local nicer = "foo\n\z
> \x20 bar\n\z
> \x20 baz"
>
I'm having a really hard time seeing why that is either more readable, or
easier to type than:
nicest = ("foo"
" bar"
" baz"
)
(my prefered way these days)
or
nicest = \
"""foo
bar"
baz"""
-CHB
--
Christopher Barker, PhD
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython
_______________________________________________
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/EKJ3TG7JQCZSNWFKN2JMSQGFZ4ZU5UUR/
Code of Conduct: http://python.org/psf/codeofconduct/