summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-03-03 10:32:12 (GMT)
committerGitHub <noreply@github.com>2021-03-03 10:32:12 (GMT)
commitb04f1cb9df7ad93366ef0ef7d8088effc576c5ae (patch)
tree456dd53adb02132e5426d0a87e0d142dfc9d1567
parent94894dd45e4bad6efb27eac4497b24cdc18b3e2d (diff)
downloadcpython-b04f1cb9df7ad93366ef0ef7d8088effc576c5ae.zip
cpython-b04f1cb9df7ad93366ef0ef7d8088effc576c5ae.tar.gz
cpython-b04f1cb9df7ad93366ef0ef7d8088effc576c5ae.tar.bz2
Doc: typo fix. (GH-24721)
-rw-r--r--Doc/whatsnew/3.10.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index edc99eb..ae76243 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -280,8 +280,8 @@ Without the use of ``_`` in a case statement, a match may not exist. If no
match exists, the behavior is a no-op. For example, if ``status`` of 500 is
passed, a no-op occurs.
-Pattterns with a literal and variable
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Patterns with a literal and variable
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Patterns can look like unpacking assignments, and a pattern may be used to bind
variables. In this example, a data point can be unpacked to its x-coordinate