From: za Date: Wed, 19 Feb 2025 19:16:38 +0000 (+0700) Subject: gh-122876: Fix "End of lines" typo (#125310) X-Git-Tag: v3.14.0a6~352 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73801864d866c76ae26a120b9db9de21b08f8b50;p=thirdparty%2FPython%2Fcpython.git gh-122876: Fix "End of lines" typo (#125310) 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::