mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-06 04:08:49 +08:00
Add sys.addaudithook() and audit() (#3455)
This commit is contained in:
1 parent
66778639a5
commit
107eaeb3d2
1 file changed
+2
@@ -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