[Python-checkins] bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29536)
asvetlov
webhook-mailer at python.org
Fri Nov 12 05:20:26 EST 2021
https://github.com/python/cpython/commit/8b6a474071bcc88ec3453e16f079181e551513c3
commit: 8b6a474071bcc88ec3453e16f079181e551513c3
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2021-11-12T12:20:20+02:00
summary:
bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29536)
Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
(cherry picked from commit e501d70b347c5093018d12482c30a7a98aab86d0)
Co-authored-by: Hynek Schlawack <hs at ox.cx>
Co-authored-by: Hynek Schlawack <hs at ox.cx>
files:
M Doc/library/contextvars.rst
diff --git a/Doc/library/contextvars.rst b/Doc/library/contextvars.rst
index 14ac47f4c9eb1..be1dd0c9eb57e 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
More information about the Python-checkins
mailing list