Commit 3dffcd1a authored by Brett Cannon's avatar Brett Cannon

Make it more obvious that warnings.catch_warnings() and its arguments should...

Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.
parent 15ad6c0f
...@@ -267,7 +267,7 @@ Available Functions ...@@ -267,7 +267,7 @@ Available Functions
Available Classes 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 A context manager that guards the warnings filter from being permanently
mutated. The manager returns an instance of :class:`WarningsRecorder`. The mutated. The manager returns an instance of :class:`WarningsRecorder`. The
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment