Searched refs:formatwarning (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/ |
D | warnings.py | 15 def formatwarning(message, category, filename, lineno, line=None): function 115 _formatwarning_orig = formatwarning 120 fw = formatwarning
|
/third_party/python/Doc/library/ |
D | warnings.rst | 40 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
|
D | logging.rst | 1348 formatted using :func:`warnings.formatwarning` and the resulting string
|
/third_party/python/Lib/test/test_warnings/ |
D | __init__.py | 879 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/ |
D | 3.8.0a3.rst | 476 Ensure custom :func:`warnings.formatwarning` function can receive `line` as
|
D | 3.5.2rc1.rst | 914 :func:`warnings.formatwarning` now catches exceptions on
|
D | 3.6.0a1.rst | 1443 :func:`warnings.formatwarning` now catches exceptions when calling
|
/third_party/python/Lib/logging/ |
D | __init__.py | 2241 s = warnings.formatwarning(message, category, filename, lineno, line)
|
/third_party/python/Doc/whatsnew/ |
D | 2.6.rst | 2603 * The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning`
|