From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 19 Feb 2025 19:24:21 +0000 (+0100) Subject: [3.12] gh-122876: Fix "End of lines" typo (GH-125310) (#130316) X-Git-Tag: v3.12.10~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=720de0dc63cccef658272fc86e3bb533035ee39b;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-122876: Fix "End of lines" typo (GH-125310) (#130316) Co-authored-by: za Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 65e3b1938bca..bec5da8fd759 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -195,7 +195,7 @@ an odd number of ``\`` characters; see and workarounds. String literals can span multiple lines. One way is using triple-quotes: -``"""..."""`` or ``'''...'''``. End of lines are automatically +``"""..."""`` or ``'''...'''``. End-of-line characters are automatically included in the string, but it's possible to prevent this by adding a ``\`` at the end of the line. In the following example, the initial newline is not included::