mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
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:
parent
807f839bbf
commit
e501d70b34
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue