diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index aaf7897e75f..68bc26102c5 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -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