From 3dffcd1a72d61b2f9fafac77734db84a55605a84 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 5 Sep 2008 03:52:59 +0000 Subject: [PATCH] Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only. --- Doc/library/warnings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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