[Python-checkins] python/dist/src/Lib warnings.py,1.10,1.11

tim_one@sourceforge.net tim_one@sourceforge.net
Mon, 15 Apr 2002 18:34:01 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28607/python/Lib

Modified Files:
	warnings.py 
Log Message:
resetwarnings():  change the docstring to reflect what the code
actually does.  Note that the description in the Library Reference
manual is already accurate.

Bugfix candidate.


Index: warnings.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/warnings.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** warnings.py	21 Mar 2002 10:38:40 -0000	1.10
--- warnings.py	16 Apr 2002 01:33:59 -0000	1.11
***************
*** 140,144 ****
  
  def resetwarnings():
!     """Reset the list of warnings filters to its default state."""
      filters[:] = []
  
--- 140,144 ----
  
  def resetwarnings():
!     """Clear the list of warning filters, so that  no filters are active."""
      filters[:] = []