mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add (_)dummy_threading module, identical to threading (#3554)
* Add (_)dummy_threading module, identical to threading * Remove unnecessary comment, add consistency check
This commit is contained in:
committed by
Jelle Zijlstra
parent
d0f57d7d38
commit
85afac3bd5
@@ -1,4 +1,3 @@
|
||||
# Stubs for threading
|
||||
|
||||
from typing import (
|
||||
Any, Callable, Iterable, List, Mapping, Optional, Tuple, Type, Union,
|
||||
@@ -14,6 +13,8 @@ _PF = Callable[[FrameType, str, Any], None]
|
||||
_T = TypeVar('_T')
|
||||
|
||||
|
||||
__all__: List[str]
|
||||
|
||||
def active_count() -> int: ...
|
||||
if sys.version_info < (3,):
|
||||
def activeCount() -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user