/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_warning.py | 14 showwarning = warnings.showwarning variable 17 running_in_idle = 'idle' in showwarning.__name__ 36 self.assertIs(warnings.showwarning, showwarning) 38 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc) 40 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 | 86 showwarning = Mbox_func() # None variable in Mbox
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_warning.py | 14 showwarning = warnings.showwarning variable 17 running_in_idle = 'idle' in showwarning.__name__ 36 self.assertIs(warnings.showwarning, showwarning) 38 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc) 40 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 | 86 showwarning = Mbox_func() # None variable in Mbox
|
/external/python/cpython2/Lib/ |
D | warnings.py | 38 showwarning = _show_warning variable 300 showwarning(message, category, filename, lineno) 367 self._showwarning = self._module.showwarning 370 def showwarning(*args, **kwargs): function 372 self._module.showwarning = showwarning 381 self._module.showwarning = self._showwarning
|
/external/python/cpython2/Lib/test/ |
D | test_warnings.py | 524 del self.module.showwarning 533 old_showwarning = self.module.showwarning 534 self.module.showwarning = 23 538 self.module.showwarning = old_showwarning 545 del self.module.showwarning 677 self.module.showwarning(message, category, file_name, line_num, 685 self.module.showwarning(message, category, file_name, line_num, 703 orig_showwarning = wmod.showwarning 706 wmod.filters = wmod.showwarning = object() 708 self.assertTrue(wmod.showwarning is orig_showwarning) [all …]
|
D | test_logging.py | 1099 warnings.showwarning("Explicit", UserWarning, "dummy.py", 42,
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 719 del self.module.showwarning 739 self.module.showwarning = print 742 self.module.showwarning = 23 750 del self.module.showwarning 825 self.module.showwarning(message, category, file_name, line_num, 833 self.module.showwarning(message, category, file_name, line_num, 883 orig_showwarning = wmod.showwarning 886 wmod.filters = wmod.showwarning = object() 888 self.assertTrue(wmod.showwarning is orig_showwarning) 891 wmod.filters = wmod.showwarning = object() [all …]
|
/external/python/cpython3/Lib/ |
D | warnings.py | 10 def showwarning(message, category, filename, lineno, file=None, line=None): function 83 _showwarning_orig = showwarning 88 sw = showwarning 456 self._showwarning = self._module.showwarning 463 self._module.showwarning = self._module._showwarning_orig 473 self._module.showwarning = self._showwarning
|
/external/python/cpython3/Lib/tkinter/ |
D | messagebox.py | 85 def showwarning(title=None, message=None, **options): function 128 print("warning", showwarning("Spam", "Egg Warning"))
|
D | simpledialog.py | 295 messagebox.showwarning( 303 messagebox.showwarning( 312 messagebox.showwarning(
|
/external/python/cpython2/Lib/lib-tk/ |
D | tkMessageBox.py | 85 def showwarning(title=None, message=None, **options): function 128 print "warning", showwarning("Spam", "Egg Warning")
|
D | tkSimpleDialog.py | 216 tkMessageBox.showwarning( 224 tkMessageBox.showwarning( 233 tkMessageBox.showwarning(
|
/external/python/cpython2/Lib/idlelib/ |
D | run.py | 48 _warnings_showwarning = warnings.showwarning 49 warnings.showwarning = idle_showwarning_subproc 52 warnings.showwarning = _warnings_showwarning
|
D | PyShell.py | 93 _warnings_showwarning = warnings.showwarning 94 warnings.showwarning = idle_showwarning 97 warnings.showwarning = _warnings_showwarning
|
D | EditorWindow.py | 893 tkMessageBox.showwarning(title='IDLE Warning',
|
/external/python/cpython3/Doc/library/ |
D | warnings.rst | 38 The printing of warning messages is done by calling :func:`showwarning`, which 249 results. The :func:`showwarning` function in the module is also restored to 352 .. function:: showwarning(message, category, filename, lineno, file=None, line=None) 357 this function with any callable by assigning to ``warnings.showwarning``. 359 message; if *line* is not supplied, :func:`showwarning` will 406 and the :func:`showwarning` function. 410 :func:`showwarning` function (which also suppresses output to ``sys.stdout``). 412 :func:`showwarning`. 423 :func:`showwarning` function and internal list of filter
|
/external/python/cpython2/Doc/library/ |
D | warnings.rst | 41 The printing of warning messages is done by calling :func:`showwarning`, which 242 results. The :func:`showwarning` function in the module is also restored to 341 .. function:: showwarning(message, category, filename, lineno[, file[, line]]) 347 ``warnings.showwarning``. 349 message; if *line* is not supplied, :func:`showwarning` will 402 and the :func:`showwarning` function. 406 :func:`showwarning` function (which also suppresses output to ``sys.stdout``). 408 :func:`showwarning`. 419 :func:`showwarning` function and internal list of filter
|
/external/python/cpython3/Lib/idlelib/ |
D | run.py | 66 _warnings_showwarning = warnings.showwarning 67 warnings.showwarning = idle_showwarning_subproc 70 warnings.showwarning = _warnings_showwarning
|
D | pyshell.py | 81 _warnings_showwarning = warnings.showwarning 82 warnings.showwarning = idle_showwarning 85 warnings.showwarning = _warnings_showwarning
|
D | editor.py | 817 tkMessageBox.showwarning(title='IDLE Warning',
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | save_env.py | 252 return warnings.showwarning 254 warnings.showwarning = fxn
|
/external/python/cpython2/Lib/logging/ |
D | __init__.py | 1739 _warnings_showwarning = warnings.showwarning 1740 warnings.showwarning = _showwarning 1743 warnings.showwarning = _warnings_showwarning
|
/external/python/cpython3/Lib/logging/ |
D | __init__.py | 1989 _warnings_showwarning = warnings.showwarning 1990 warnings.showwarning = _showwarning 1993 warnings.showwarning = _warnings_showwarning
|
/external/autotest/client/common_lib/ |
D | utils.py | 101 warnings.showwarning = custom_warning_handler
|