Skip to content

Commit

Permalink
Allow typing.Unpack to be parameterized.
Browse files Browse the repository at this point in the history
For #1525.

PiperOrigin-RevId: 588874437
  • Loading branch information
rchen152 committed Dec 7, 2023
1 parent 0788f97 commit bbf10c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytype/stubs/builtins/typing.pytd
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class Required(Generic[_T]): ...
class NotRequired(Generic[_T]): ...
Self = TypeVar('Self')
class TypeVarTuple: ...
class Unpack: ...
class Unpack(Generic[_T]): ...

def assert_type(val, typ, /): ...
def assert_never(arg: Never, /) -> Never: ...
Expand Down

0 comments on commit bbf10c1

Please sign in to comment.