diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-11-13 14:08:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 14:08:57 (GMT) |
commit | 9aa5ff82d43435293acf0337fd069dce783176fc (patch) | |
tree | 7a58215454b27fe35e2d6049ea1540ef82e01e28 /Doc | |
parent | 7313bde84c82e37aa1110d44b796ec3025b0f611 (diff) | |
download | cpython-9aa5ff82d43435293acf0337fd069dce783176fc.zip cpython-9aa5ff82d43435293acf0337fd069dce783176fc.tar.gz cpython-9aa5ff82d43435293acf0337fd069dce783176fc.tar.bz2 |
[3.12] gh-111681: minor fixes to typing doctests; remove unused imports in `test_typing` (#111682) (#112035)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 7b75094..b00eb93 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1941,7 +1941,7 @@ without the dedicated syntax, as documented below. .. doctest:: - >>> from typing import ParamSpec + >>> from typing import ParamSpec, get_origin >>> P = ParamSpec("P") >>> get_origin(P.args) is P True |