Skip to content

Commit 904084a

Browse files
committed
[3.11] pythongh-111681: minor fix to a typing doctest (python#111682)
1 parent d4217e5 commit 904084a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ for creating generic types.
17851785

17861786
.. doctest::
17871787

1788-
>>> from typing import ParamSpec
1788+
>>> from typing import ParamSpec, get_origin
17891789
>>> P = ParamSpec("P")
17901790
>>> get_origin(P.args) is P
17911791
True

0 commit comments

Comments
 (0)