From 056693c33741258f962eeadb93e4610a9cd1efa6 Mon Sep 17 00:00:00 2001 From: za Date: Thu, 20 Feb 2025 02:16:38 +0700 Subject: [PATCH] gh-122876: Fix "End of lines" typo (GH-125310) (cherry picked from commit 73801864d866c76ae26a120b9db9de21b08f8b50) Co-authored-by: za Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/tutorial/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 65e3b1938bca9c..bec5da8fd759ac 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::