Skip to content

Commit c37a0d9

Browse files
bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29537)
Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`. (cherry picked from commit e501d70) Co-authored-by: Hynek Schlawack <[email protected]>
1 parent 10b0c67 commit c37a0d9

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)