[stdlib] Mark constants as Final (#14577)

This commit is contained in:
Semyon Moroz authored and GitHub committed 2025-08-15 13:19:03 +02:00
1 parent 554701e9b6
commit 85a787bba3
62 files changed
+1601 -1583

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ from typing import Any, AnyStr, Final, Generic, Literal
__all__ = ["clear_cache", "cmp", "dircmp", "cmpfiles", "DEFAULT_IGNORES"]
DEFAULT_IGNORES: list[str]
DEFAULT_IGNORES: Final[list[str]]
BUFSIZE: Final = 8192
def cmp(f1: StrOrBytesPath, f2: StrOrBytesPath, shallow: bool | Literal[0, 1] = True) -> bool: ...