diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index e6d297136..bb18586ca 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -999,7 +999,7 @@ class _PathLike(Protocol[_AnyStr_co]): def __fspath__(self) -> _AnyStr_co: ... if sys.version_info >= (3, 10): - def aiter(__iterable: AsyncIterable[_T]) -> AsyncIterator[_T]: ... + def aiter(__async_iterable: AsyncIterable[_T]) -> AsyncIterator[_T]: ... @overload async def anext(__i: SupportsAnext[_T]) -> _T: ... @overload diff --git a/tests/stubtest_allowlists/py310.txt b/tests/stubtest_allowlists/py310.txt index 9fd59b843..80598ad95 100644 --- a/tests/stubtest_allowlists/py310.txt +++ b/tests/stubtest_allowlists/py310.txt @@ -126,7 +126,6 @@ tkinter.EventType.__new__ # Rest of these errors are new in Python 3.10: _markupbase.ParserBase.error asyncio.proactor_events._ProactorReadPipeTransport.__init__ -builtins.aiter distutils.command.bdist_wininst importlib.abc.ResourceReader.is_resource importlib.machinery.BuiltinImporter.create_module