From 1889b98c0c815b057beaabd41e22166d74722766 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. git-svn-id: http://svn.python.org/projects/python/trunk@66229 6015fed2-1504-0410-9fe1-9d1591cc4771 --- 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 aaf7897e75..68bc26102c 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 -- 2.11.4.GIT