gh-151955: Allow more ParamSpec and TypeVarTuple bounds (#151956) · python/cpython@0fb82b4 · GitHub
Skip to content

Commit 0fb82b4

Browse files
gh-151955: Allow more ParamSpec and TypeVarTuple bounds (#151956)
1 parent ce8b81f commit 0fb82b4

3 files changed

Lines changed: 18 additions & 19 deletions

File tree

Lib/test/test_typing.py

Lines changed: 16 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Allow more types to be used in the ``bound`` argument to
2+
:class:`typing.ParamSpec` and :class:`typing.TypeVarTuple`.

Objects/typevarobject.c

Lines changed: 0 additions & 19 deletions

0 commit comments

Comments
 (0)