summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-08 19:55:12 (GMT)
committerGitHub <noreply@github.com>2024-05-08 19:55:12 (GMT)
commit8f31af68d0767d4bc56022ab7cc30b1c7bd6a676 (patch)
tree7fbd4aa771dd06ab93b87ae08b8cee029a3e1e5c /Doc/tutorial
parentc33bba6eb3dca67f8cc85a1a24521107feeeed25 (diff)
downloadcpython-8f31af68d0767d4bc56022ab7cc30b1c7bd6a676.zip
cpython-8f31af68d0767d4bc56022ab7cc30b1c7bd6a676.tar.gz
cpython-8f31af68d0767d4bc56022ab7cc30b1c7bd6a676.tar.bz2
[3.13] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118792)
(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/datastructures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index de28274..a149229 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -126,7 +126,7 @@ Python.
Another thing you might notice is that not all data can be sorted or
compared. For instance, ``[None, 'hello', 10]`` doesn't sort because
-integers can't be compared to strings and *None* can't be compared to
+integers can't be compared to strings and ``None`` can't be compared to
other types. Also, there are some types that don't have a defined
ordering relation. For example, ``3+4j < 5+7j`` isn't a valid
comparison.