We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pathname
setuptools._distutils.util.convert_path
1 parent 232b8f3 commit 46ac2e2Copy full SHA for 46ac2e2
stubs/setuptools/setuptools/_distutils/util.pyi
@@ -1,4 +1,4 @@
1
-from _typeshed import Unused
+from _typeshed import StrPath, Unused
2
from collections.abc import Callable, Mapping
3
from typing import Literal
4
from typing_extensions import TypeVarTuple, Unpack
@@ -10,7 +10,7 @@ def get_platform() -> str: ...
10
def get_macosx_target_ver_from_syscfg(): ...
11
def get_macosx_target_ver(): ...
12
def split_version(s: str) -> list[int]: ...
13
-def convert_path(pathname: str) -> str: ...
+def convert_path(pathname: StrPath) -> str: ...
14
def change_root(new_root: str, pathname: str) -> str: ...
15
def check_environ() -> None: ...
16
def subst_vars(s: str, local_vars: Mapping[str, str]) -> None: ...
0 commit comments