Simple formatting string question

Fredrik Lundh effbot at telia.com
Thu Apr 13 16:30:51 EDT 2000


Robert Kern <kern at caltech.edu> wrote:
> GuruQuestion:
> Should implicit string concatenation have a different precedence than
> explicit string concatenation?  Perhaps only a mention in
> http://www.python.org/doc/current/ref/string-catenation.html ?

what do you mean?

that page describes "string literal concatenation", and clearly
says that multiple adjacent string literals are concatenated at
*compile* time.

operator precedence has nothing to do with it -- it's not an
operator, and it's not documented as being one.

</F>





More information about the Python-list mailing list