mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
threading: add gettrace and getprofile functions (#6407)
Added in https://bugs.python.org/issue42251
This commit is contained in:
@@ -22,6 +22,11 @@ if sys.version_info >= (3, 8):
|
||||
|
||||
def settrace(func: _TF) -> None: ...
|
||||
def setprofile(func: _PF | None) -> None: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def gettrace() -> _TF | None: ...
|
||||
def getprofile() -> _PF | None: ...
|
||||
|
||||
def stack_size(size: int = ...) -> int: ...
|
||||
|
||||
TIMEOUT_MAX: float
|
||||
|
||||
Reference in New Issue
Block a user