@@ -18,7 +18,7 @@ collections.AsyncGenerator.__anext__ # async at runtime, deliberately not in th
1818collections.AsyncGenerator.aclose # async at runtime, deliberately not in the stub, see #7491
1919collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
2020collections.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
2222collections.Callable
2323collections.Mapping.get # Adding None to the Union messed up mypy
2424collections.Sequence.index # Supporting None in end is not mandatory
@@ -104,19 +104,12 @@ tkinter.tix.TkVersion
104104# <= 3.13
105105# =======
106106
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-
112107ast.Ellipsis.__new__ # Implementation has *args, but shouldn't allow any
113108
114109_?hashlib.scrypt # Raises TypeError if salt, n, r or p are None
115110
116111importlib.abc.Traversable.open # Problematic protocol signature at runtime, see source code comments.
117112
118- typing\.ByteString
119-
120113# Will always raise. Not included to avoid type checkers inferring that
121114# TypeAliasType instances are callable.
122115typing_extensions.TypeAliasType.__call__
0 commit comments