mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Big diff: Use new "|" union syntax (#5872)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
from distutils.ccompiler import CCompiler
|
||||
from typing import Mapping, Optional, Union
|
||||
from typing import Mapping
|
||||
|
||||
PREFIX: str
|
||||
EXEC_PREFIX: str
|
||||
|
||||
def get_config_var(name: str) -> Union[int, str, None]: ...
|
||||
def get_config_vars(*args: str) -> Mapping[str, Union[int, str]]: ...
|
||||
def get_config_var(name: str) -> int | str | None: ...
|
||||
def get_config_vars(*args: str) -> Mapping[str, int | str]: ...
|
||||
def get_config_h_filename() -> str: ...
|
||||
def get_makefile_filename() -> str: ...
|
||||
def get_python_inc(plat_specific: bool = ..., prefix: Optional[str] = ...) -> str: ...
|
||||
def get_python_lib(plat_specific: bool = ..., standard_lib: bool = ..., prefix: Optional[str] = ...) -> str: ...
|
||||
def get_python_inc(plat_specific: bool = ..., prefix: str | None = ...) -> str: ...
|
||||
def get_python_lib(plat_specific: bool = ..., standard_lib: bool = ..., prefix: str | None = ...) -> str: ...
|
||||
def customize_compiler(compiler: CCompiler) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user