distutils & setuptools: Relax path related params (#11948)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
AvasamandJelle Zijlstra authored and GitHub committed 2024-05-20 23:41:20 -04:00
1 parent 6816cf47f7
commit a375953f63
24 files changed
+247 -93

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
from _typeshed import StrOrBytesPath
from collections.abc import Sequence
from re import Pattern
from typing import Any, Literal
@@ -80,4 +81,4 @@ class config(Command):
self, header: str, include_dirs: Sequence[str] | None = None, library_dirs: Sequence[str] | None = None, lang: str = "c"
) -> bool: ...
def dump_file(filename: str, head: Any | None = None) -> None: ...
def dump_file(filename: StrOrBytesPath, head: Any | None = None) -> None: ...