mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Normalise use of Never vs NoReturn (#8549)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import sys
|
||||
import threading
|
||||
from typing import NoReturn
|
||||
from typing_extensions import Never
|
||||
|
||||
_global_lock: threading.Lock
|
||||
|
||||
class _LoopBoundMixin:
|
||||
if sys.version_info < (3, 11):
|
||||
def __init__(self, *, loop: NoReturn = ...) -> None: ...
|
||||
def __init__(self, *, loop: Never = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user