From 904084af943996be3088215bb5a368ed9c7215fd Mon Sep 17 00:00:00 2001 From: AlexWaygood Date: Mon, 13 Nov 2023 13:53:35 +0000 Subject: [PATCH] [3.11] gh-111681: minor fix to a typing doctest (#111682) --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index f00a4ce20c8a51..0eda01a323e490 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1785,7 +1785,7 @@ for creating generic types. .. doctest:: - >>> from typing import ParamSpec + >>> from typing import ParamSpec, get_origin >>> P = ParamSpec("P") >>> get_origin(P.args) is P True