Searched refs:warn_explicit (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_warnings.py | 149 self.module.warn_explicit(message, UserWarning, "test_warnings.py", 153 self.module.warn_explicit(message, UserWarning, "test_warnings.py", 156 self.module.warn_explicit(message, UserWarning, "test_warnings2.py", 356 self.assertRaises(TypeError, self.module.warn_explicit, 360 self.assertRaises(TypeError, self.module.warn_explicit, 364 self.module.warn_explicit, 465 self.module.warn_explicit(message, UserWarning, "file", 42) 468 self.module.warn_explicit(message, UserWarning, "file", 42) 479 self.module.warn_explicit(message, UserWarning, "file", 42) 493 self.module.warn_explicit(message, UserWarning, "<test>", 42, [all …]
|
/external/python/cpython2/Lib/ |
D | warnings.py | 234 warn_explicit(message, category, filename, lineno, module, registry, 237 def warn_explicit(message, category, filename, lineno, function 395 warn, warn_explicit)
|
/external/python/cpython2/Python/ |
D | _warnings.c | 289 warn_explicit(PyObject *category, PyObject *message, in warn_explicit() function 596 res = warn_explicit(category, message, filename, lineno, module, registry, in do_warn() 695 returned = warn_explicit(category, message, filename, lineno, module, in warnings_warn_explicit() 702 return warn_explicit(category, message, filename, lineno, module, in warnings_warn_explicit() 761 res = warn_explicit(category, message, filename, lineno, module, registry, in PyErr_WarnExplicit()
|
/external/python/cpython2/Doc/library/ |
D | warnings.rst | 311 .. function:: warn_explicit(message, category, filename, lineno[, module[, registry[, module_global…
|
/external/python/cpython2/Doc/c-api/ |
D | exceptions.rst | 319 :func:`warnings.warn_explicit`, see there for more information. The *module*
|
/external/python/cpython2/Misc/ |
D | NEWS | 9230 DeprecationWarning related to warnings.warn_explicit(). 9659 - Issue #3211: warnings.warn_explicit() did not guard against its 'registry'
|