bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29535)

Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
(cherry picked from commit e501d70b34)

Co-authored-by: Hynek Schlawack <hs@ox.cx>

Co-authored-by: Hynek Schlawack <hs@ox.cx>
This commit is contained in:
Miss Islington (bot) 2021-11-12 02:19:52 -08:00 committed by GitHub
parent a89bbde83f
commit 628667ac9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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