-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
asyncio: Confusing TimeoutError #106068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
They are the same thing since 3.11. https://docs.python.org/3/library/asyncio-exceptions.html#asyncio.TimeoutError |
Thank you, I was not aware of this. |
Yes Docs can be updated if any one is willing to make a PR. |
In many example code in the URL Coroutines and Tasks, TimeoutError exception is caught using
But it should be
Also, not all hyperlinks to
TimeoutError
points to theasyncio.TimeoutError, but to the standard TimeoutError
The text was updated successfully, but these errors were encountered: