Remove several unused TypeVars (#6829)

This commit is contained in:
Alex Waygood
2022-01-05 15:58:03 +00:00
committed by GitHub
parent beedc1d039
commit 2268955701
7 changed files with 3 additions and 13 deletions

View File

@@ -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: ...