[3.15] gh-151955: Allow more ParamSpec and TypeVarTuple bounds (GH-15… · python/cpython@df66175 · GitHub
Skip to content

Commit df66175

Browse files
[3.15] gh-151955: Allow more ParamSpec and TypeVarTuple bounds (GH-151956) (#152101)
gh-151955: Allow more ParamSpec and TypeVarTuple bounds (GH-151956) (cherry picked from commit 0fb82b4) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent f4c210c commit df66175

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)