PEP 622: Fix typo (#1509)

This commit is contained in:
Ram Rachum 2020-07-09 23:36:20 +03:00 committed by GitHub
parent da849ee33c
commit 16b6744345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ the "switch" statement as present in other languages::
sleep(DELAY) # Server is swamped, try after a bit
retry()
case _:
raise RequestError(we couldn't get the data)
raise RequestError("we couldn't get the data")
Although this will work, it's not necessarily what the proposal is
focused on, and the new syntax has been designed to best support the