[Python-checkins] Fix typo in 3.10's What's New documentation (GH-25409)
miss-islington
webhook-mailer at python.org
Wed Apr 14 12:16:19 EDT 2021
https://github.com/python/cpython/commit/0c4c43632556a5ea5ef2267efeb17b332b861a19
commit: 0c4c43632556a5ea5ef2267efeb17b332b861a19
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-04-14T09:16:11-07:00
summary:
Fix typo in 3.10's What's New documentation (GH-25409)
"occured" -> "occurred"
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 69697e15d421f..0962f04b3a7d9 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).
More information about the Python-checkins
mailing list