mirror of https://github.com/python/cpython.git
Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.
This commit is contained in:
parent
15ad6c0f2b
commit
3dffcd1a72
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue