Backport module for sys.audit and sys.addaudithook mechanism
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

6 lines
172 B

import typing
def audit(event: str, *args: typing.Any) -> None: ...
def addaudithook(
hook: typing.Callable[[str, typing.Tuple[typing.Any, ...]], None]
) -> None: ...