@@ -18,7 +18,7 @@ collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in th
18
18
collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7491
19
19
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
20
20
collections.AsyncIterator.__anext__ # async at runtime, deliberately not in the stub, see #7491
21
- collections.ByteString # see comments in py3_common .txt
21
+ collections.ByteString # see comments in common .txt
22
22
collections.Callable
23
23
collections.Mapping.get # Adding None to the Union messed up mypy
24
24
collections.Sequence.index # Supporting None in end is not mandatory
@@ -104,19 +104,12 @@ tkinter.tix.TkVersion
104
104
# <= 3.13
105
105
# =======
106
106
107
- # Pretend typing.ByteString is a Union, to better match its documented semantics.
108
- # As a side effect, this changes the definition of collections.abc.ByteString, which is okay,
109
- # because it's not an ABC that makes any sense and was deprecated in 3.12
110
- _collections_abc.ByteString
111
-
112
107
ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
113
108
114
109
_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
115
110
116
111
importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.
117
112
118
- typing\.ByteString
119
-
120
113
# Will always raise. Not included to avoid type checkers inferring that
121
114
# TypeAliasType instances are callable.
122
115
typing_extensions.TypeAliasType.__call__
0 commit comments