Back to module index

Go to module by name

_warnings

_warnings provides basic warning filtering support.
It is a helper module to speed up interpreter start-up.

Functions

warn

warn(message, category=None, stacklevel=1, source=None)

  Issue a warning, or maybe ignore it or raise an exception.

warn_explicit

warn_explicit(...)

  Low-level interface to warnings functionality.

Other members

filters = [('default', None, <class 'DeprecationWarning'>, '__main__', 0), ('ignore', None, <class 'DeprecationWarning'>, None, 0), ('ignore', None, <class 'PendingDeprecationWarning'>, None, 0), ('ignore', None, <class 'ImportWarning'>, None, 0), ('ignore', None, <class 'ResourceWarning'>, None, 0)]