summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2021-04-14 16:16:11 (GMT)
committerGitHub <noreply@github.com>2021-04-14 16:16:11 (GMT)
commit0c4c43632556a5ea5ef2267efeb17b332b861a19 (patch)
treeda1110f1170b1b408d7126260494831e877a4e9a
parent341e8a939aca6e9f59ffb0e6daee5888933694ed (diff)
downloadcpython-0c4c43632556a5ea5ef2267efeb17b332b861a19.zip
cpython-0c4c43632556a5ea5ef2267efeb17b332b861a19.tar.gz
cpython-0c4c43632556a5ea5ef2267efeb17b332b861a19.tar.bz2
Fix typo in 3.10's What's New documentation (GH-25409)
"occured" -> "occurred"
-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).