mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[faulthandler] Add c_stack parameter to enable (#14757)
This commit is contained in:
@@ -9,7 +9,13 @@ if sys.version_info >= (3, 14):
|
||||
def dump_c_stack(file: FileDescriptorLike = ...) -> None: ...
|
||||
|
||||
def dump_traceback_later(timeout: float, repeat: bool = ..., file: FileDescriptorLike = ..., exit: bool = ...) -> None: ...
|
||||
def enable(file: FileDescriptorLike = ..., all_threads: bool = ...) -> None: ...
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
def enable(file: FileDescriptorLike = ..., all_threads: bool = ..., c_stack: bool = True) -> None: ...
|
||||
|
||||
else:
|
||||
def enable(file: FileDescriptorLike = ..., all_threads: bool = ...) -> None: ...
|
||||
|
||||
def is_enabled() -> bool: ...
|
||||
|
||||
if sys.platform != "win32":
|
||||
|
||||
Reference in New Issue
Block a user