PyDocs

Nav

Python Runtime Services

warn_explicit

warnings

function
  • warn_explicit(message, category, filename, lineno, module=None, registry=None, module_globals=None, source=None)
Issue a warning, or maybe ignore it or raise an exception.
Changed in 3.6, 3.15
  • 3.6: Add the source parameter.
  • 3.15: If no module is passed, test the filter regular expression against module names created from the path, not only the path itself.
0 Examples
No examples for warnings/warn_explicit.
See Also
No see-alsos for warnings/warn_explicit
0 Notes
No notes for warn_explicit