Skip to content

Commit 46ac2e2

Browse files
authored
Update pathname param of setuptools._distutils.util.convert_path (#13483)
1 parent 232b8f3 commit 46ac2e2

File tree

1 file changed

+2
-2
lines changed
  • stubs/setuptools/setuptools/_distutils

1 file changed

+2
-2
lines changed

stubs/setuptools/setuptools/_distutils/util.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from _typeshed import Unused
1+
from _typeshed import StrPath, Unused
22
from collections.abc import Callable, Mapping
33
from typing import Literal
44
from typing_extensions import TypeVarTuple, Unpack
@@ -10,7 +10,7 @@ def get_platform() -> str: ...
1010
def get_macosx_target_ver_from_syscfg(): ...
1111
def get_macosx_target_ver(): ...
1212
def split_version(s: str) -> list[int]: ...
13-
def convert_path(pathname: str) -> str: ...
13+
def convert_path(pathname: StrPath) -> str: ...
1414
def change_root(new_root: str, pathname: str) -> str: ...
1515
def check_environ() -> None: ...
1616
def subst_vars(s: str, local_vars: Mapping[str, str]) -> None: ...

0 commit comments

Comments
 (0)