Skip to content

Commit 7c43083

Browse files
author
hauntsaninja
committed
for x in $(rg '\bUnion\b' -c | grep stdlib | pyp 'x.split(":")[0] if x.endswith(":1") else None'); do fastmod -g $x --accept-all '(from typing import.*), Union' '$1'; done
1 parent 5a90411 commit 7c43083

File tree

240 files changed

+240
-240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+240
-240
lines changed

stdlib/@python2/BaseHTTPServer.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import mimetools
22
import SocketServer
3-
from typing import Any, BinaryIO, Callable, Mapping, Tuple, Union
3+
from typing import Any, BinaryIO, Callable, Mapping, Tuple
44

55
class HTTPServer(SocketServer.TCPServer):
66
server_name: str

stdlib/@python2/ConfigParser.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from _typeshed import SupportsNoArgReadline
2-
from typing import IO, Any, Dict, List, Sequence, Tuple, Union
2+
from typing import IO, Any, Dict, List, Sequence, Tuple
33

44
DEFAULTSECT: str
55
MAX_INTERPOLATION_DEPTH: int

stdlib/@python2/SimpleHTTPServer.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import BaseHTTPServer
22
from StringIO import StringIO
3-
from typing import IO, Any, AnyStr, Mapping, Union
3+
from typing import IO, Any, AnyStr, Mapping
44

55
class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
66
server_version: str

stdlib/@python2/SocketServer.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sys
22
from socket import SocketType
3-
from typing import Any, BinaryIO, Callable, ClassVar, List, Text, Tuple, Union
3+
from typing import Any, BinaryIO, Callable, ClassVar, List, Text, Tuple
44

55
class BaseServer:
66
address_family: int

stdlib/@python2/UserList.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Iterable, List, MutableSequence, TypeVar, Union, overload
1+
from typing import Iterable, List, MutableSequence, TypeVar, overload
22

33
_T = TypeVar("_T")
44
_S = TypeVar("_S")

stdlib/@python2/UserString.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Iterable, List, MutableSequence, Sequence, Text, Tuple, TypeVar, Union, overload
1+
from typing import Any, Iterable, List, MutableSequence, Sequence, Text, Tuple, TypeVar, overload
22

33
_UST = TypeVar("_UST", bound=UserString)
44
_MST = TypeVar("_MST", bound=MutableString)

stdlib/@python2/_codecs.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import codecs
22
import sys
3-
from typing import Any, Callable, Dict, Text, Tuple, Union
3+
from typing import Any, Callable, Dict, Text, Tuple
44

55
# For convenience:
66
_Handler = Callable[[Exception], Tuple[Text, int]]

stdlib/@python2/_collections.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Callable, Dict, Generic, Iterator, TypeVar, Union
1+
from typing import Any, Callable, Dict, Generic, Iterator, TypeVar
22

33
_K = TypeVar("_K")
44
_V = TypeVar("_V")

stdlib/@python2/_csv.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Iterable, Iterator, List, Protocol, Sequence, Text, Type, Union
1+
from typing import Any, Iterable, Iterator, List, Protocol, Sequence, Text, Type
22

33
QUOTE_ALL: int
44
QUOTE_MINIMAL: int

stdlib/@python2/_curses.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Any, BinaryIO, Tuple, Union, overload
1+
from typing import IO, Any, BinaryIO, Tuple, overload
22

33
_chtype = str | bytes | int
44

stdlib/@python2/_dummy_threading.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import FrameType, TracebackType
2-
from typing import Any, Callable, Iterable, List, Mapping, Text, Type, TypeVar, Union
2+
from typing import Any, Callable, Iterable, List, Mapping, Text, Type, TypeVar
33

44
# TODO recursive type
55
_TF = Callable[[FrameType, str, Any], Callable[..., Any] | None]

stdlib/@python2/_io.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from mmap import mmap
2-
from typing import IO, Any, BinaryIO, Iterable, List, Text, TextIO, Tuple, Type, TypeVar, Union
2+
from typing import IO, Any, BinaryIO, Iterable, List, Text, TextIO, Tuple, Type, TypeVar
33

44
_bytearray_like = bytearray | mmap
55

stdlib/@python2/_msi.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
from typing import List, Union
2+
from typing import List
33

44
if sys.platform == "win32":
55

stdlib/@python2/_osx_support.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Dict, Iterable, List, Sequence, Tuple, TypeVar, Union
1+
from typing import Dict, Iterable, List, Sequence, Tuple, TypeVar
22

33
_T = TypeVar("_T")
44
_K = TypeVar("_K")

stdlib/@python2/_socket.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Any, Tuple, Union, overload
1+
from typing import IO, Any, Tuple, overload
22

33
AF_APPLETALK: int
44
AF_ASH: int

stdlib/@python2/_sre.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Dict, Iterable, List, Mapping, Sequence, Tuple, Union, overload
1+
from typing import Any, Dict, Iterable, List, Mapping, Sequence, Tuple, overload
22

33
CODESIZE: int
44
MAGIC: int

stdlib/@python2/_weakrefset.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Generic, Iterable, Iterator, MutableSet, TypeVar, Union
1+
from typing import Any, Generic, Iterable, Iterator, MutableSet, TypeVar
22

33
_S = TypeVar("_S")
44
_T = TypeVar("_T")

stdlib/@python2/_winreg.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import TracebackType
2-
from typing import Any, Tuple, Type, Union
2+
from typing import Any, Tuple, Type
33

44
_KeyType = HKEYType | int
55

stdlib/@python2/aifc.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Any, List, NamedTuple, Text, Tuple, Union, overload
1+
from typing import IO, Any, List, NamedTuple, Text, Tuple, overload
22
from typing_extensions import Literal
33

44
class Error(Exception): ...

stdlib/@python2/array.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, BinaryIO, Generic, Iterable, List, MutableSequence, Text, Tuple, TypeVar, Union, overload
1+
from typing import Any, BinaryIO, Generic, Iterable, List, MutableSequence, Text, Tuple, TypeVar, overload
22
from typing_extensions import Literal
33

44
_IntTypeCode = Literal["b", "B", "h", "H", "i", "I", "l", "L", "q", "Q"]

stdlib/@python2/ast.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# from _ast below when loaded in an unorthodox way by the Dropbox
55
# internal Bazel integration.
66
import typing as _typing
7-
from typing import Any, Iterator, Union
7+
from typing import Any, Iterator
88

99
from _ast import *
1010
from _ast import AST, Module

stdlib/@python2/asynchat.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import asyncore
22
import socket
33
from abc import abstractmethod
4-
from typing import Sequence, Tuple, Union
4+
from typing import Sequence, Tuple
55

66
class simple_producer:
77
def __init__(self, data: bytes, buffer_size: int = ...) -> None: ...

stdlib/@python2/asyncore.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22
from _typeshed import FileDescriptorLike
33
from socket import SocketType
4-
from typing import Any, Dict, Tuple, Union, overload
4+
from typing import Any, Dict, Tuple, overload
55

66
# cyclic dependence with asynchat
77
_maptype = Dict[int, Any]

stdlib/@python2/base64.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Union
1+
from typing import IO
22

33
_encodable = bytes | unicode
44
_decodable = bytes | unicode

stdlib/@python2/bdb.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import CodeType, FrameType, TracebackType
2-
from typing import IO, Any, Callable, Dict, Iterable, List, Mapping, Set, SupportsInt, Tuple, Type, TypeVar, Union
2+
from typing import IO, Any, Callable, Dict, Iterable, List, Mapping, Set, SupportsInt, Tuple, Type, TypeVar
33

44
_T = TypeVar("_T")
55
_TraceDispatch = Callable[[FrameType, str, Any], Any] # TODO: Recursive type

stdlib/@python2/binhex.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Any, Tuple, Union
1+
from typing import IO, Any, Tuple
22

33
class Error(Exception): ...
44

stdlib/@python2/bz2.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import io
22
from _typeshed import ReadableBuffer, WriteableBuffer
3-
from typing import IO, Any, Iterable, List, Text, TypeVar, Union
3+
from typing import IO, Any, Iterable, List, Text, TypeVar
44
from typing_extensions import SupportsIndex
55

66
_PathOrFile = Text | IO[bytes]

stdlib/@python2/cProfile.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import CodeType
2-
from typing import Any, Callable, Dict, Text, Tuple, TypeVar, Union
2+
from typing import Any, Callable, Dict, Text, Tuple, TypeVar
33

44
def run(statement: str, filename: str | None = ..., sort: str | int = ...) -> None: ...
55
def runctx(

stdlib/@python2/cStringIO.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from abc import ABCMeta
2-
from typing import IO, Iterable, Iterator, List, Union, overload
2+
from typing import IO, Iterable, Iterator, List, overload
33

44
# This class isn't actually abstract, but you can't instantiate it
55
# directly, so we might as well treat it as abstract in the stub.

stdlib/@python2/calendar.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import datetime
22
from time import struct_time
3-
from typing import Any, Iterable, List, Sequence, Tuple, Union
3+
from typing import Any, Iterable, List, Sequence, Tuple
44

55
_LocaleType = Tuple[str | None, str | None]
66

stdlib/@python2/cgi.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from _typeshed import SupportsGetItem, SupportsItemAccess
22
from builtins import type as _type
3-
from typing import IO, Any, AnyStr, Iterable, Iterator, List, Mapping, Protocol, TypeVar, Union
3+
from typing import IO, Any, AnyStr, Iterable, Iterator, List, Mapping, Protocol, TypeVar
44
from UserDict import UserDict
55

66
_T = TypeVar("_T", bound=FieldStorage)

stdlib/@python2/cmath.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import SupportsComplex, SupportsFloat, Tuple, Union
1+
from typing import SupportsComplex, SupportsFloat, Tuple
22

33
e: float
44
pi: float

stdlib/@python2/curses/ascii.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, TypeVar, Union
1+
from typing import List, TypeVar
22

33
_CharT = TypeVar("_CharT", str, int)
44

stdlib/@python2/curses/textpad.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from _curses import _CursesWindow
2-
from typing import Callable, Optional, Union
2+
from typing import Callable, Optional
33

44
def rectangle(win: _CursesWindow, uly: int, ulx: int, lry: int, lrx: int) -> None: ...
55

stdlib/@python2/datetime.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from time import struct_time
2-
from typing import AnyStr, ClassVar, SupportsAbs, Tuple, Type, TypeVar, Union, overload
2+
from typing import AnyStr, ClassVar, SupportsAbs, Tuple, Type, TypeVar, overload
33

44
_S = TypeVar("_S")
55

stdlib/@python2/dbm/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import TracebackType
2-
from typing import Iterator, MutableMapping, Tuple, Type, Union
2+
from typing import Iterator, MutableMapping, Tuple, Type
33
from typing_extensions import Literal
44

55
_KeyType = str | bytes

stdlib/@python2/dbm/dumb.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import TracebackType
2-
from typing import Iterator, MutableMapping, Type, Union
2+
from typing import Iterator, MutableMapping, Type
33

44
_KeyType = str | bytes
55
_ValueType = str | bytes

stdlib/@python2/dbm/gnu.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import TracebackType
2-
from typing import List, Type, TypeVar, Union, overload
2+
from typing import List, Type, TypeVar, overload
33

44
_T = TypeVar("_T")
55
_KeyType = str | bytes

stdlib/@python2/dbm/ndbm.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from types import TracebackType
2-
from typing import List, Type, TypeVar, Union, overload
2+
from typing import List, Type, TypeVar, overload
33

44
_T = TypeVar("_T")
55
_KeyType = str | bytes

stdlib/@python2/dircache.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, MutableSequence, Text, Union
1+
from typing import List, MutableSequence, Text
22

33
def reset() -> None: ...
44
def listdir(path: Text) -> List[str]: ...

stdlib/@python2/distutils/cmd.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from abc import abstractmethod
22
from distutils.dist import Distribution
3-
from typing import Any, Callable, Iterable, List, Optional, Text, Tuple, Union
3+
from typing import Any, Callable, Iterable, List, Optional, Text, Tuple
44

55
class Command:
66
sub_commands: List[Tuple[str, Optional[Callable[[Command], bool]]]]

stdlib/@python2/distutils/command/config.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ from distutils.ccompiler import CCompiler
33
from distutils.core import Command as Command
44
from distutils.errors import DistutilsExecError as DistutilsExecError
55
from distutils.sysconfig import customize_compiler as customize_compiler
6-
from typing import Dict, List, Pattern, Sequence, Tuple, Union
6+
from typing import Dict, List, Pattern, Sequence, Tuple
77

88
LANG_EXT: Dict[str, str]
99

stdlib/@python2/distutils/core.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from distutils.cmd import Command as Command
22
from distutils.dist import Distribution as Distribution
33
from distutils.extension import Extension as Extension
4-
from typing import Any, List, Mapping, Tuple, Type, Union
4+
from typing import Any, List, Mapping, Tuple, Type
55

66
def setup(
77
*,

stdlib/@python2/distutils/fancy_getopt.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, List, Mapping, Tuple, Union, overload
1+
from typing import Any, List, Mapping, Tuple, overload
22

33
_Option = Tuple[str, str | None, str]
44
_GR = Tuple[List[str], OptionDummy]

stdlib/@python2/distutils/sysconfig.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from distutils.ccompiler import CCompiler
2-
from typing import Mapping, Union
2+
from typing import Mapping
33

44
PREFIX: str
55
EXEC_PREFIX: str

stdlib/@python2/distutils/text_file.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, List, Tuple, Union
1+
from typing import IO, List, Tuple
22

33
class TextFile:
44
def __init__(

stdlib/@python2/distutils/version.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from abc import abstractmethod
2-
from typing import Pattern, Text, Tuple, TypeVar, Union
2+
from typing import Pattern, Text, Tuple, TypeVar
33

44
_T = TypeVar("_T", bound=Version)
55

stdlib/@python2/doctest.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import types
22
import unittest
3-
from typing import Any, Callable, Dict, List, NamedTuple, Optional, Tuple, Type, Union
3+
from typing import Any, Callable, Dict, List, NamedTuple, Optional, Tuple, Type
44

55
class TestResults(NamedTuple):
66
failed: int

stdlib/@python2/fcntl.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from _typeshed import FileDescriptorLike
2-
from typing import Any, Union
2+
from typing import Any
33

44
FASYNC: int
55
FD_CLOEXEC: int

stdlib/@python2/filecmp.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import AnyStr, Callable, Dict, Generic, Iterable, List, Sequence, Text, Tuple, Union
1+
from typing import AnyStr, Callable, Dict, Generic, Iterable, List, Sequence, Text, Tuple
22

33
DEFAULT_IGNORES: List[str]
44

stdlib/@python2/fileinput.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Any, AnyStr, Callable, Generic, Iterable, Iterator, Text, Union
1+
from typing import IO, Any, AnyStr, Callable, Generic, Iterable, Iterator, Text
22

33
def input(
44
files: Text | Iterable[Text] | None = ...,

stdlib/@python2/fnmatch.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import AnyStr, Iterable, List, Union
1+
from typing import AnyStr, Iterable, List
22

33
_EitherStr = str | unicode
44

stdlib/@python2/fractions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from decimal import Decimal
22
from numbers import Integral, Rational, Real
3-
from typing import Tuple, Type, TypeVar, Union, overload
3+
from typing import Tuple, Type, TypeVar, overload
44
from typing_extensions import Literal
55

66
_ComparableNum = int | float | Decimal | Real

stdlib/@python2/genericpath.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from _typeshed import SupportsLessThanT
2-
from typing import List, Sequence, Text, Tuple, Union, overload
2+
from typing import List, Sequence, Text, Tuple, overload
33
from typing_extensions import Literal
44

55
# All overloads can return empty string. Ideally, Literal[""] would be a valid

stdlib/@python2/gettext.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import IO, Any, Container, Dict, List, Sequence, Type, Union
1+
from typing import IO, Any, Container, Dict, List, Sequence, Type
22

33
def bindtextdomain(domain: str, localedir: str = ...) -> str: ...
44
def bind_textdomain_codeset(domain: str, codeset: str = ...) -> str: ...

stdlib/@python2/glob.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import AnyStr, Iterator, List, Union
1+
from typing import AnyStr, Iterator, List
22

33
def glob(pathname: AnyStr) -> List[AnyStr]: ...
44
def iglob(pathname: AnyStr) -> Iterator[AnyStr]: ...

stdlib/@python2/imghdr.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, BinaryIO, Callable, List, Protocol, Text, Union, overload
1+
from typing import Any, BinaryIO, Callable, List, Protocol, Text, overload
22

33
class _ReadableBinary(Protocol):
44
def tell(self) -> int: ...

0 commit comments

Comments
 (0)