We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8bdea8 commit 1095c65Copy full SHA for 1095c65
peps/pep-0728.rst
@@ -335,7 +335,7 @@ extra items::
335
name: str
336
337
def f(movie: Movie) -> None:
338
- del movie["name"] # Not OK. The value type of 'name' is 'Required[int]'
+ del movie["name"] # Not OK. The value type of 'name' is 'Required[str]'
339
del movie["year"] # OK. The value type of 'year' is 'NotRequired[int]'
340
341
Interaction with ``Unpack``
0 commit comments