mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 08:38:26 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from io import BufferedIOBase, BufferedRandom, BytesIO
|
||||
from typing import Any
|
||||
from typing_extensions import Literal
|
||||
from typing import Any, Literal
|
||||
|
||||
COPY_BYTES: int
|
||||
STRBUF_LIMIT: int
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from io import TextIOWrapper
|
||||
from typing import Any
|
||||
from typing_extensions import Literal
|
||||
from typing import Any, Literal
|
||||
|
||||
PY2: Literal[False]
|
||||
PY3: Literal[True]
|
||||
|
||||
@@ -2,7 +2,7 @@ import sys
|
||||
from collections.abc import Callable, Mapping
|
||||
from socket import socket
|
||||
from threading import Lock
|
||||
from typing_extensions import Literal
|
||||
from typing import Literal
|
||||
|
||||
from waitress import wasyncore as wasyncore
|
||||
|
||||
|
||||
Reference in New Issue
Block a user