Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-119995: Clarify S3.1.2 in tutorial docs #120332

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Doc/tutorial/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading