Skip to content

Commit

Permalink
Update Lib/asyncio/events.py
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Oct 31, 2023
1 parent 180166b commit b41756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/asyncio/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def set_event_loop_policy(policy):
If policy is None, the default policy is restored."""
warnings._deprecated("set_event_loop_policy",
"{name!r} is deprecated as of Python 3.13 and will be "
"removed in Python {remove}.", remove=(3, 15))
"removed in Python {remove} or later.", remove=(3, 15))
global _event_loop_policy
if policy is not None and not isinstance(policy, AbstractEventLoopPolicy):
raise TypeError(f"policy must be an instance of AbstractEventLoopPolicy or None, not '{type(policy).__name__}'")
Expand Down

0 comments on commit b41756d

Please sign in to comment.