mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 21:20:23 +08:00
[stdlib] Add missing Final (#14613)
This commit is contained in:
@@ -52,7 +52,7 @@ else:
|
||||
"seal",
|
||||
)
|
||||
|
||||
FILTER_DIR: Any
|
||||
FILTER_DIR: bool # controls the way mock objects respond to `dir` function
|
||||
|
||||
class _SentinelObject:
|
||||
name: Any
|
||||
@@ -61,7 +61,7 @@ class _SentinelObject:
|
||||
class _Sentinel:
|
||||
def __getattr__(self, name: str) -> Any: ...
|
||||
|
||||
sentinel: Any
|
||||
sentinel: _Sentinel
|
||||
DEFAULT: Any
|
||||
|
||||
_ArgsKwargs: TypeAlias = tuple[tuple[Any, ...], Mapping[str, Any]]
|
||||
@@ -428,7 +428,7 @@ class _ANY:
|
||||
def __ne__(self, other: object) -> Literal[False]: ...
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
|
||||
ANY: Any
|
||||
ANY: _ANY
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def create_autospec(
|
||||
|
||||
Reference in New Issue
Block a user