mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[stdlib] Mark constants as Final (#14577)
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ from _typeshed import (
|
||||
)
|
||||
from collections.abc import Iterable, Iterator
|
||||
from types import GenericAlias, TracebackType
|
||||
from typing import IO, Any, AnyStr, Generic, Literal, overload
|
||||
from typing import IO, Any, AnyStr, Final, Generic, Literal, overload
|
||||
from typing_extensions import Self, deprecated
|
||||
|
||||
__all__ = [
|
||||
@@ -34,7 +34,7 @@ __all__ = [
|
||||
]
|
||||
|
||||
# global variables
|
||||
TMP_MAX: int
|
||||
TMP_MAX: Final[int]
|
||||
tempdir: str | None
|
||||
template: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user