mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Add sys.addaudithook() and audit() (#3455)
This commit is contained in:
committed by
Jelle Zijlstra
parent
66778639a5
commit
107eaeb3d2
@@ -209,3 +209,5 @@ if sys.version_info >= (3, 8):
|
||||
err_msg: Optional[str]
|
||||
object: Optional[object]
|
||||
unraisablehook: Callable[[UnraisableHookArgs], Any]
|
||||
def addaudithook(hook: Callable[[str, Tuple[Any, ...]], Any]) -> None: ...
|
||||
def audit(__event: str, *args: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user