diff --git a/stubs/aiofiles/aiofiles/threadpool/text.pyi b/stubs/aiofiles/aiofiles/threadpool/text.pyi index 6003a0852c31..43de0a6e515a 100644 --- a/stubs/aiofiles/aiofiles/threadpool/text.pyi +++ b/stubs/aiofiles/aiofiles/threadpool/text.pyi @@ -1,4 +1,3 @@ -from _typeshed import FileDescriptorOrPath from collections.abc import Iterable from typing import BinaryIO @@ -34,7 +33,7 @@ class _UnknownAsyncTextIO(AsyncBase[str]): @property def newlines(self) -> str | tuple[str, ...] | None: ... @property - def name(self) -> FileDescriptorOrPath: ... + def name(self) -> str: ... @property def mode(self) -> str: ...