mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 10:03:32 +08:00
distutils & setuptools: Relax path related params (#11948)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user