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`.
This commit is contained in:
Hynek Schlawack 2021-11-12 10:47:55 +01:00 committed by GitHub
parent 807f839bbf
commit e501d70b34
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