Skip to content

Commit 758c44f

Browse files
committed
Tweak
1 parent ed37e23 commit 758c44f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/importlib/resources/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from io import TextIOWrapper
21
import os
32
import sys
43
from _typeshed import StrPath
54
from collections.abc import Iterator
65
from contextlib import AbstractContextManager
6+
from io import TextIOWrapper
77
from pathlib import Path
88
from types import ModuleType
99
from typing import Any, BinaryIO, TextIO, overload
@@ -42,7 +42,7 @@ if sys.version_info >= (3, 13):
4242
anchor: Anchor, *path_names: Unpack[tuple[StrPath]], encoding: str | None = "utf-8", errors: str | None = "strict"
4343
) -> TextIOWrapper: ...
4444
@overload
45-
def open_text(anchor: Anchor, *path_names: StrPath, encoding: str | None, errors: str | None = "strict") -> TextIO: ...
45+
def open_text(anchor: Anchor, *path_names: StrPath, encoding: str | None, errors: str | None = "strict") -> TextIOWrapper: ...
4646
def read_binary(anchor: Anchor, *path_names: StrPath) -> bytes: ...
4747
@overload
4848
def read_text(

0 commit comments

Comments
 (0)