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

This commit is contained in:
Brett Cannon 2008-09-05 03:52:59 +00:00
parent 15ad6c0f2b
commit 3dffcd1a72
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ Available Functions
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