From: Julien Palard Date: Wed, 3 Mar 2021 10:32:12 +0000 (+0100) Subject: Doc: typo fix. (GH-24721) X-Git-Tag: v3.10.0a7~211 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b04f1cb9df7ad93366ef0ef7d8088effc576c5ae;p=thirdparty%2FPython%2Fcpython.git Doc: typo fix. (GH-24721) --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index edc99eb808e3..ae76243bafb7 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