[Python-checkins] r66229 - python/trunk/Doc/library/warnings.rst

brett.cannon python-checkins at python.org
Fri Sep 5 05:52:59 CEST 2008


Author: brett.cannon
Date: Fri Sep  5 05:52:59 2008
New Revision: 66229

Log:
Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.

Modified:
   python/trunk/Doc/library/warnings.rst

Modified: python/trunk/Doc/library/warnings.rst
==============================================================================
--- python/trunk/Doc/library/warnings.rst	(original)
+++ python/trunk/Doc/library/warnings.rst	Fri Sep  5 05:52:59 2008
@@ -267,7 +267,7 @@
 Available Classes
 -----------------
 
-.. class:: catch_warnings([record=False[, module=None]])
+.. class:: catch_warnings([\*, record=False[, module=None]])
 
     A context manager that guards the warnings filter from being permanently
     mutated. The manager returns an instance of :class:`WarningsRecorder`. The 


More information about the Python-checkins mailing list