mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue