Lines Matching refs:Warning
1 :mod:`warnings` --- Warning control
13 Warning messages are typically issued in situations where it is useful to alert
22 Warning messages are normally written to :data:`sys.stderr`, but their disposition
50 Warning Categories
62 the :exc:`Warning` class.
71 | :exc:`Warning` | This is the base class of all warning |
160 * *category* is a class (a subclass of :exc:`Warning`) of which the warning
169 Since the :exc:`Warning` class is derived from the built-in :exc:`Exception`
178 Describing Warning Filters
216 Default Warning Filter
366 Warning categories that are primarily of interest to Python developers (rather
399 defaults to :exc:`UserWarning`. Alternatively, *message* can be a :exc:`Warning` instance,
427 *message* must be a string and *category* a subclass of :exc:`Warning` or
428 *message* may be a :exc:`Warning` instance, in which case *category* will be
463 .. function:: filterwarnings(action, message='', category=Warning, module='', lineno=0, append=Fals…
475 .. function:: simplefilter(action, category=Warning, lineno=0, append=False)