]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: typo fix. (GH-24721)
authorJulien Palard <julien@palard.fr>
Wed, 3 Mar 2021 10:32:12 +0000 (11:32 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Mar 2021 10:32:12 +0000 (11:32 +0100)
Doc/whatsnew/3.10.rst

index edc99eb808e3260b6cb2797378410fd284b9ab50..ae76243bafb7c67e5bdbf62c31166ed25baa7378 100644 (file)
@@ -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