Home
last modified time | relevance | path

Searched refs:formatwarning (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/
Dwarnings.py15 def formatwarning(message, category, filename, lineno, line=None): function
115 _formatwarning_orig = formatwarning
120 fw = formatwarning
/third_party/python/Doc/library/
Dwarnings.rst40 message by calling :func:`formatwarning`, which is also available for use by
446 ``formatwarning(message, category, filename, lineno, line)`` and writes the
454 .. function:: formatwarning(message, category, filename, lineno, line=None)
459 :func:`formatwarning` will try to read the line specified by *filename* and
Dlogging.rst1348 formatted using :func:`warnings.formatwarning` and the resulting string
/third_party/python/Lib/test/test_warnings/
D__init__.py879 self.assertEqual(expect, self.module.formatwarning(message,
885 self.assertEqual(expect, self.module.formatwarning(message,
895 expect = self.module.formatwarning(message, category, file_name,
902 expect = self.module.formatwarning(message, category, file_name,
/third_party/python/Misc/NEWS.d/
D3.8.0a3.rst476 Ensure custom :func:`warnings.formatwarning` function can receive `line` as
D3.5.2rc1.rst914 :func:`warnings.formatwarning` now catches exceptions on
D3.6.0a1.rst1443 :func:`warnings.formatwarning` now catches exceptions when calling
/third_party/python/Lib/logging/
D__init__.py2241 s = warnings.formatwarning(message, category, filename, lineno, line)
/third_party/python/Doc/whatsnew/
D2.6.rst2603 * The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning`