Skip to content

Commit 8184e03

Browse files
authored
1 parent 62752e0 commit 8184e03

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stdlib/pydoc.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
from _typeshed import OptExcInfo, SupportsWrite, Unused
2+
from _typeshed import OptExcInfo, StrPath, SupportsWrite, Unused
33
from abc import abstractmethod
44
from builtins import list as _list # "list" conflicts with method name
55
from collections.abc import Callable, Container, Mapping, MutableMapping
@@ -35,10 +35,10 @@ def classify_class_attrs(object: object) -> list[tuple[str, str, type, str]]: ..
3535

3636
if sys.version_info >= (3, 13):
3737
@deprecated("Deprecated since Python 3.13.")
38-
def ispackage(path: str) -> bool: ... # undocumented
38+
def ispackage(path: StrPath) -> bool: ... # undocumented
3939

4040
else:
41-
def ispackage(path: str) -> bool: ... # undocumented
41+
def ispackage(path: StrPath) -> bool: ... # undocumented
4242

4343
def source_synopsis(file: IO[AnyStr]) -> AnyStr | None: ...
4444
def synopsis(filename: str, cache: MutableMapping[str, tuple[int, str]] = {}) -> str | None: ...

0 commit comments

Comments
 (0)