summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2021-11-12 09:47:55 (GMT)
committerGitHub <noreply@github.com>2021-11-12 09:47:55 (GMT)
commite501d70b347c5093018d12482c30a7a98aab86d0 (patch)
treec9f20543a9fecfcb38661dc1de803eabff1bb725
parent807f839bbfd5805fb76eb3436c9252a0441296eb (diff)
downloadcpython-e501d70b347c5093018d12482c30a7a98aab86d0.zip
cpython-e501d70b347c5093018d12482c30a7a98aab86d0.tar.gz
cpython-e501d70b347c5093018d12482c30a7a98aab86d0.tar.bz2
bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533)
Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
-rw-r--r--Doc/library/contextvars.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextvars.rst b/Doc/library/contextvars.rst
index 14ac47f..be1dd0c 100644
--- a/Doc/library/contextvars.rst
+++ b/Doc/library/contextvars.rst
@@ -94,7 +94,7 @@ Context Variables
# var.get() would raise a LookupError.
-.. class:: contextvars.Token
+.. class:: Token
*Token* objects are returned by the :meth:`ContextVar.set` method.
They can be passed to the :meth:`ContextVar.reset` method to revert