diff options
author | Hynek Schlawack <hs@ox.cx> | 2021-11-12 10:47:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 11:47:55 +0200 |
commit | e501d70b347c5093018d12482c30a7a98aab86d0 (patch) | |
tree | c9f20543a9fecfcb38661dc1de803eabff1bb725 | |
parent | 807f839bbfd5805fb76eb3436c9252a0441296eb (diff) | |
download | cpython-git-e501d70b347c5093018d12482c30a7a98aab86d0.tar.gz |
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.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextvars.rst b/Doc/library/contextvars.rst index 14ac47f4c9..be1dd0c9eb 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 |