[docs] [issue37575] Python Documentation on strings ( section 3.1.2.)
Mark Dickinson
report at bugs.python.org
Fri Jul 12 17:16:02 EDT 2019
Mark Dickinson <dickinsm at gmail.com> added the comment:
The documentation is correct here; none of the examples you show demonstrates implicit concatenation of string-valued expressions.
The tutorial documentation is referring to two strings placed
directly next to each other with no other syntax (other than
whitespace) in between.
For example, taking just the first line you give (after the definitions):
print(s1, s2, "\n", s3, "\n")
Nowhere in this line are two string-value expressions placed right next
to each other; they're occurring in an argument list to a function,
separated by commas. The other lines are similar.
----------
nosy: +mark.dickinson
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37575>
_______________________________________
More information about the docs
mailing list