summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-09-05 03:52:59 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-09-05 03:52:59 (GMT)
commit3dffcd1a72d61b2f9fafac77734db84a55605a84 (patch)
treec3b74b0c8f5b4627acb10426ff4cdf74ec4475d1 /Doc/library
parent15ad6c0f2bd337fc4104f7e4ce07af7a27916535 (diff)
downloadcpython-3dffcd1a72d61b2f9fafac77734db84a55605a84.zip
cpython-3dffcd1a72d61b2f9fafac77734db84a55605a84.tar.gz
cpython-3dffcd1a72d61b2f9fafac77734db84a55605a84.tar.bz2
Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/warnings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index aaf7897..68bc261 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