mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-17 23:34:13 +08:00
Remove several unused TypeVars (#6829)
This commit is contained in:
@@ -2,7 +2,7 @@ import _compression
|
||||
import sys
|
||||
from _compression import BaseStream
|
||||
from _typeshed import ReadableBuffer, Self, StrOrBytesPath, WriteableBuffer
|
||||
from typing import IO, Any, Iterable, Protocol, TextIO, TypeVar, overload
|
||||
from typing import IO, Any, Iterable, Protocol, TextIO, overload
|
||||
from typing_extensions import Literal, SupportsIndex, final
|
||||
|
||||
# The following attributes and methods are optional:
|
||||
@@ -16,8 +16,6 @@ class _WritableFileobj(Protocol):
|
||||
# def fileno(self) -> int: ...
|
||||
# def close(self) -> object: ...
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
def compress(data: bytes, compresslevel: int = ...) -> bytes: ...
|
||||
def decompress(data: bytes) -> bytes: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user