Skip to content

Commit

Permalink
[3.11] pythongh-111681: minor fix to a typing doctest (python#111682)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Nov 13, 2023
1 parent d4217e5 commit 904084a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 904084a

Please sign in to comment.