Nom de la classe | Description |
catch_warnings | A context manager that copies and restores the warnings filter upon [extrait de catch_warnings.__doc__] |
WarningMessage |
Signature de la fonction | Description |
filterwarnings(action, message='', category=<class 'Warning'>, module='', lineno=0, append=False) | Insert an entry into the list of warnings filters (at the front). [extrait de filterwarnings.__doc__] |
formatwarning(message, category, filename, lineno, line=None) | Function to format a warning the standard way. [extrait de formatwarning.__doc__] |
resetwarnings() | Clear the list of warning filters, so that no filters are active. [extrait de resetwarnings.__doc__] |
showwarning(message, category, filename, lineno, file=None, line=None) | Hook to write a warning to a file; replace if you like. [extrait de showwarning.__doc__] |
simplefilter(action, category=<class 'Warning'>, lineno=0, append=False) | Insert a simple entry into the list of warnings filters (at the front). [extrait de simplefilter.__doc__] |
warn(message, category=None, stacklevel=1, source=None) | Issue a warning, or maybe ignore it or raise an exception. [extrait de warn.__doc__] |
warn_explicit | Low-level interface to warnings functionality. [extrait de warn_explicit.__doc__] |
Nom de la variable globale | Valeur |
defaultaction | default |
filters | [('always', None, <class 'scipy.special._sf_error.SpecialFunctionWarning'>, None, 0), ('ignore', re.compile('the matrix subclass is not the recommended way', re.IGNORECASE), <class 'Warning'>, None, 0), ('ignore', re.compile('numpy.ndarray size changed', re.IGNORECASE), <class 'Warning'>, None, 0), ('ignore', re.compile('numpy.ufunc size changed', re.IGNORECASE), <class 'Warning'>, None, 0), ('ignore', re.compile('numpy.dtype size changed', re.IGNORECASE), <class 'Warning'>, None, 0), ('always', None, <class 'numpy.RankWarning'>, None, 0), ('default', None, <class 'DeprecationWarning'>, '__main__', 0), ('ignore', None, <class 'DeprecationWarning'>, None, 0), ('ignore', None, <class 'PendingDeprecationWarning'>, None, 0), ('ignore', None, <class 'ImportWarning'>, None, 0), ('ignore', None, <class 'ResourceWarning'>, None, 0)] |
onceregistry | {} |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :