Skip to content

Commit 3bd942f

Browse files
authored
Fix "The Matrix" movie release year in typing.rst (python#123965)
1 parent eb169f4 commit 3bd942f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ These can be used as types in annotations. They all support subscription using
13161316
year: int
13171317

13181318
def mutate_movie(m: Movie) -> None:
1319-
m["year"] = 1992 # allowed
1319+
m["year"] = 1999 # allowed
13201320
m["title"] = "The Matrix" # typechecker error
13211321

13221322
There is no runtime checking for this property.

0 commit comments

Comments
 (0)