8000 [3.11] gh-111681: minor fix to a typing doctest (#111682) (#112037) · python/cpython@4baf633 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4baf633

Browse files
authored
[3.11] gh-111681: minor fix to a typing doctest (#111682) (#112037)
1 parent d4217e5 commit 4baf633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0