Skip to content

Commit 1095c65

Browse files
committed
one more
1 parent e8bdea8 commit 1095c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0728.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ extra items::
335335
name: str
336336

337337
def f(movie: Movie) -> None:
338-
del movie["name"] # Not OK. The value type of 'name' is 'Required[int]'
338+
del movie["name"] # Not OK. The value type of 'name' is 'Required[str]'
339339
del movie["year"] # OK. The value type of 'year' is 'NotRequired[int]'
340340

341341
Interaction with ``Unpack``

0 commit comments

Comments
 (0)