Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/warnings.html
Дата изменения: Thu Nov 5 13:46:18 2015
Дата индексирования: Sun Apr 10 23:13:40 2016
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п
Python: module warnings
 
 
warnings
index
/usr/local/Python-2.5/lib/python2.5/warnings.py
Module Docs

Python part of the warnings subsystem.

 
Modules
       
linecache
sys
types

 
Functions
       
filterwarnings(action, message='', category=<type 'exceptions.Warning'>, module='', lineno=0, append=0)
Insert an entry into the list of warnings filters (at the front).
 
Use assertions to check that all arguments have the right type.
formatwarning(message, category, filename, lineno)
Function to format a warning the standard way.
resetwarnings()
Clear the list of warning filters, so that no filters are active.
showwarning(message, category, filename, lineno, file=None)
Hook to write a warning to a file; replace if you like.
warn(message, category=None, stacklevel=1)
Issue a warning, or maybe ignore it or raise an exception.

 
Data
        __all__ = ['warn', 'showwarning', 'formatwarning', 'filterwarnings', 'resetwarnings']