8000 bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) · python/cpython@e501d70 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit e501d70

Browse files
authored
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`.
1 parent 807f839 commit e501d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/contextvars.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Context Variables
9494
# var.get() would raise a LookupError.
9595

9696

97-
.. class:: contextvars.Token
97+
.. class:: Token
9898

9999
*Token* objects are returned by the :meth:`ContextVar.set` method.
100100
They can be passed to the :meth:`ContextVar.reset` method to revert

0 commit comments

Comments
 (0)
0