Use Final for multiprocessing constants (#12452)

This commit is contained in:
Max Muoto
2024-07-28 04:59:00 -05:00
committed by GitHub
parent 8ac4af63cd
commit a0b8790f6b
5 changed files with 21 additions and 21 deletions

View File

@@ -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: ...