On Wed, Mar 14, 2018 at 8:43 PM Robert Vanden Eynde <
[email protected]> wrote:
> > We should write the following, instead:
> >
> > long_string = (
> > "some part of the string " +
> > "with more words, actually is the same " +
> > "string that the compiler puts together")
>
> Maybe the "+" at the beginnig as PEP8 said, to clearly mark it present
> and explicit.
>
> long_string = (
> "some part of the string "
> + "with more words, actually is the same "
> + "string that the compiler puts together")
>
> or
>
> long_string = (""
> + "some part of the string "
> + "with more words, actually is the same "
> + "string that the compiler puts together")
>
>
>
Or allow unary plus:
long_string = (
+ "some part of the string "
+ "with more words, actually is the same "
+ "string that the compiler puts together"
)
Elazar
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/