mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix typo in 3.10's What's New documentation (GH-25409)
"occured" -> "occurred"
This commit is contained in:
parent
341e8a939a
commit
0c4c436325
1 changed files with 1 additions and 1 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue