diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-09-05 03:52:59 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-09-05 03:52:59 (GMT) |
commit | 3dffcd1a72d61b2f9fafac77734db84a55605a84 (patch) | |
tree | c3b74b0c8f5b4627acb10426ff4cdf74ec4475d1 /Doc/library | |
parent | 15ad6c0f2bd337fc4104f7e4ce07af7a27916535 (diff) | |
download | cpython-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.rst | 2 |
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 |