mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use Final for multiprocessing constants (#12452)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from collections.abc import Mapping, Sequence
|
||||
from types import ModuleType
|
||||
from typing import Any
|
||||
from typing import Any, Final
|
||||
|
||||
__all__ = [
|
||||
"_main",
|
||||
@@ -12,8 +12,8 @@ __all__ = [
|
||||
"import_main_path",
|
||||
]
|
||||
|
||||
WINEXE: bool
|
||||
WINSERVICE: bool
|
||||
WINEXE: Final[bool]
|
||||
WINSERVICE: Final[bool]
|
||||
|
||||
def set_executable(exe: str) -> None: ...
|
||||
def get_executable() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user