asynchat.filterwarnings()
¶
-
asynchat.
filterwarnings
(action, message='', category=<type 'exceptions.Warning'>, module='', lineno=0, append=0)[source]¶ Insert an entry into the list of warnings filters (at the front).
- ‘action’ – one of “error”, “ignore”, “always”, “default”, “module”,
- or “once”
‘message’ – a regex that the warning message must match ‘category’ – a class that the warning must be a subclass of ‘module’ – a regex that the module name must match ‘lineno’ – an integer line number, 0 matches all warnings ‘append’ – if true, append to the list of filters