Fix typo in 3.10's What's New documentation (GH-25409)

"occured" ->  "occurred"
This commit is contained in:
Zackery Spytz 2021-04-14 10:16:11 -06:00 committed by GitHub
parent 341e8a939a
commit 0c4c436325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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).