/third_party/python/Lib/idlelib/idle_test/ |
D | test_warning.py | 15 showwarning = warnings.showwarning variable 18 running_in_idle = 'idle' in showwarning.__name__ 35 self.assertIs(warnings.showwarning, showwarning) 37 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc) 39 self.assertIs(warnings.showwarning, showwarning) 53 self.assertIs(warnings.showwarning, showwarning) 55 self.assertIs(warnings.showwarning, shell.idle_showwarning) 57 self.assertIs(warnings.showwarning, showwarning)
|
D | mock_tk.py | 91 showwarning = Mbox_func() # None variable in Mbox
|
/third_party/python/Lib/test/test_warnings/ |
D | __init__.py | 714 del self.module.showwarning 739 self.module.showwarning = print 742 self.module.showwarning = 23 750 del self.module.showwarning 897 self.module.showwarning(message, category, file_name, line_num, 905 self.module.showwarning(message, category, file_name, line_num, 924 self.module.showwarning(message, category, file_name, line_num, 988 orig_showwarning = wmod.showwarning 991 wmod.filters = wmod.showwarning = object() 993 self.assertIs(wmod.showwarning, orig_showwarning) [all …]
|
/third_party/python/Lib/ |
D | warnings.py | 10 def showwarning(message, category, filename, lineno, file=None, line=None): function 94 _showwarning_orig = showwarning 99 sw = showwarning 465 self._showwarning = self._module.showwarning 472 self._module.showwarning = self._module._showwarning_orig 482 self._module.showwarning = self._showwarning
|
/third_party/python/Lib/tkinter/ |
D | messagebox.py | 91 def showwarning(title=None, message=None, **options): function 140 print("warning", showwarning("Spam", "Egg Warning"))
|
D | simpledialog.py | 307 messagebox.showwarning( 315 messagebox.showwarning( 324 messagebox.showwarning(
|
/third_party/python/Doc/library/ |
D | warnings.rst | 38 The printing of warning messages is done by calling :func:`showwarning`, which 348 results. The :func:`showwarning` function in the module is also restored to 443 .. function:: showwarning(message, category, filename, lineno, file=None, line=None) 448 this function with any callable by assigning to ``warnings.showwarning``. 450 message; if *line* is not supplied, :func:`showwarning` will 497 and the :func:`showwarning` function. 501 :func:`showwarning` function (which also suppresses output to ``sys.stdout``). 503 :func:`showwarning`. 514 :func:`showwarning` function and internal list of filter
|
D | tkinter.messagebox.rst | 30 .. method:: showwarning(title=None, message=None, **options)
|
/third_party/python/Lib/idlelib/ |
D | run.py | 86 _warnings_showwarning = warnings.showwarning 87 warnings.showwarning = idle_showwarning_subproc 90 warnings.showwarning = _warnings_showwarning
|
D | pyshell.py | 107 _warnings_showwarning = warnings.showwarning 108 warnings.showwarning = idle_showwarning 111 warnings.showwarning = _warnings_showwarning
|
D | iomenu.py | 162 messagebox.showwarning("Mixed Newlines",
|
D | editor.py | 966 messagebox.showwarning(title='IDLE Warning',
|
/third_party/python/Lib/test/libregrtest/ |
D | save_env.py | 286 return warnings.showwarning 289 warnings.showwarning = fxn
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0rc1.rst | 51 warnings.showwarning() if it was overridden inside the context manager.
|
D | 3.7.0a1.rst | 3843 warnings.showwarning() if it was overridden inside the context manager.
|
/third_party/python/Lib/logging/ |
D | __init__.py | 2256 _warnings_showwarning = warnings.showwarning 2257 warnings.showwarning = _showwarning 2260 warnings.showwarning = _warnings_showwarning
|
/third_party/python/Lib/test/ |
D | test_logging.py | 2177 warnings.showwarning("Explicit", UserWarning, "dummy.py", 42, 2193 warnings.showwarning("Explicit", UserWarning, "dummy.py", 42)
|
/third_party/python/Doc/whatsnew/ |
D | 2.6.rst | 2603 * The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning`
|
/third_party/python/Misc/ |
D | HISTORY | 8489 - Issue #10271: Allow warnings.showwarning() be any callable.
|