mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-01 01:06:19 +08:00
Inherit from Any in threading.local and SimpleNamespace
This commit is contained in:
1 parent
01d96e4ac4
commit
14ffe7ea17
3 files changed
+4
-6
No files matched your search
@@ -29,6 +29,8 @@ class Timer(Thread):
|
||||
kwargs: Mapping[str, Any] = ...) -> None: ...
|
||||
def cancel(self) -> None : ...
|
||||
|
||||
class local(Any): ...
|
||||
|
||||
class Event:
|
||||
def is_set(self) -> bool: ...
|
||||
def set(self) -> None: ...
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ class MappingProxyType:
|
||||
def __getitem__(self, key: str) -> Any: ...
|
||||
def __iter__(self) -> Iterator[str]: ...
|
||||
def __len__(self) -> int: ...
|
||||
class SimpleNamespace: ...
|
||||
class SimpleNamespace(Any): ...
|
||||
|
||||
class GeneratorType:
|
||||
gi_code = ... # type: CodeType
|
||||
|
||||
Reference in new issue
Block a user