summaryrefslogtreecommitdiffstats
path: root/Doc/library/warnings.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-12-17 01:37:28 (GMT)
committerGitHub <noreply@github.com>2020-12-17 01:37:28 (GMT)
commitdcc997cd28ab33ebac44182ee55533c1b37689f7 (patch)
tree1f3dad6d0fe646c4f3e5f3ca1219d88e2156383c /Doc/library/warnings.rst
parentc143cc379c7411598e7b7b652bac7935e4687d07 (diff)
downloadcpython-dcc997cd28ab33ebac44182ee55533c1b37689f7.zip
cpython-dcc997cd28ab33ebac44182ee55533c1b37689f7.tar.gz
cpython-dcc997cd28ab33ebac44182ee55533c1b37689f7.tar.bz2
[doc] Fix erroneous backslashes in signatures and names (GH-23658)
The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
Diffstat (limited to 'Doc/library/warnings.rst')
-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 a481a35..9c1743c 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -491,7 +491,7 @@ Available Functions
Available Context Managers
--------------------------
-.. class:: catch_warnings(\*, record=False, module=None)
+.. class:: catch_warnings(*, record=False, module=None)
A context manager that copies and, upon exit, restores the warnings filter
and the :func:`showwarning` function.