From 0dc72287c67121c9470b6ae0f4e4474ca68cd8fb Mon Sep 17 00:00:00 2001 From: David Lowry-Duda Date: Mon, 10 Jun 2024 17:51:43 -0400 Subject: [PATCH] Clarify S3.1.2 in tutorial docs --- Doc/tutorial/introduction.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 0f16dae8b1418f..292aefb71627e2 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -142,10 +142,11 @@ Text ---- Python can manipulate text (represented by type :class:`str`, so-called -"strings") as well as numbers. This includes characters "``!``", words -"``rabbit``", names "``Paris``", sentences "``Got your back.``", etc. -"``Yay! :)``". They can be enclosed in single quotes (``'...'``) or double -quotes (``"..."``) with the same result [#]_. +"strings") as well as numbers. This includes characters (“``!``"), words +(“``rabbit``"), names (“``Paris``"), sentences (“``Got your back.``"), and even +special characters and emoticons (“``Yay! :)``"). They can be enclosed in +single quotes (``'...'``) or double quotes (``"..."``) with the same +result [#]_. >>> 'spam eggs' # single quotes 'spam eggs'