[3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232)
(cherry picked from commit 2b57c43f21f891df4c6f2294a3b9e1b9029a16b6)
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index 0d0da4d..746adb1 100644
--- a/Doc/library/tempfile.rst
+++ b/Doc/library/tempfile.rst
@@ -115,7 +115,7 @@
The directory name can be retrieved from the :attr:`name` attribute of the
returned object. When the returned object is used as a context manager, the
- :attr:`name` will be assigned to the target of the :keyword:`as` clause in
+ :attr:`name` will be assigned to the target of the :keyword:`!as` clause in
the :keyword:`with` statement, if there is one.
The directory can be explicitly cleaned up by calling the