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