Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
franekmagiera and AlexWaygood authored May 1, 2023
commit ebc19e108c0ded283eaf09806aa06628a8ee3aeb
4 changes: 2 additions & 2 deletions Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1760,8 +1760,8 @@ class Movie(TypedDict):
name: str
year: int

# This function expects two keyword arguments - `name` of type `str` and
# `year` of type `int`.
# This function expects two keyword arguments - *name* of type `str` and
# *year* of type `int`.
def foo(**kwargs: Unpack[Movie]): ...

Note that there is only some runtime checking of this operator. Not
Expand Down