summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/whatsnew/3.10.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 69697e1..0962f04 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -420,7 +420,7 @@ For example::
case ('warning', code, 40):
print("A warning has been received.")
case ('error', code, _):
- print(f"An error {code} occured.")
+ print(f"An error {code} occurred.")
In the above case, ``test_variable`` will match for ('error', code, 100) and
('error', code, 800).