From 7ba8718c0a9ac90a43e9340376b8d3355fe7a3d2 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 29 Apr 2024 07:40:28 -0700 Subject: [PATCH] Remove now-unneeded type: ignore comment --- src/safir/asyncio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/safir/asyncio.py b/src/safir/asyncio.py index 53d33448..12b53338 100644 --- a/src/safir/asyncio.py +++ b/src/safir/asyncio.py @@ -123,7 +123,7 @@ async def iterator() -> AsyncIterator[T]: for item in contents[position:end]: if item is Ellipsis: return - yield item # type: ignore[misc] + yield item position = end elif contents and contents[-1] is Ellipsis: return