diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-12 10:20:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 10:20:20 (GMT) |
commit | 8b6a474071bcc88ec3453e16f079181e551513c3 (patch) | |
tree | f5bb5ccea10dac5959b5ea0dd6bfee6eed9ddf09 /Doc | |
parent | 4d1cdd7006def053c815c354bd6f266b4850bd97 (diff) | |
download | cpython-8b6a474071bcc88ec3453e16f079181e551513c3.zip cpython-8b6a474071bcc88ec3453e16f079181e551513c3.tar.gz cpython-8b6a474071bcc88ec3453e16f079181e551513c3.tar.bz2 |
bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29536)
Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
(cherry picked from commit e501d70b347c5093018d12482c30a7a98aab86d0)
Co-authored-by: Hynek Schlawack <hs@ox.cx>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/contextvars.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextvars.rst b/Doc/library/contextvars.rst index 14ac47f..be1dd0c 100644 --- a/Doc/library/contextvars.rst +++ b/Doc/library/contextvars.rst @@ -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 |