[3.13] Fix "The Matrix" movie release year in typing.rst (GH-123965) (#123966)

Fix "The Matrix" movie release year in `typing.rst` (GH-123965)
(cherry picked from commit 3bd942f106)

Co-authored-by: sobolevn <[email protected]>
This commit is contained in:
Miss Islington (bot)
2024-09-23 11:34:44 -07:00
committed by GitHub
co-authored by sobolevn
parent 86f30dd539
commit bbec2ea88f
+1 -1
View File
@@ -1316,7 +1316,7 @@ These can be used as types in annotations. They all support subscription using
year: int
def mutate_movie(m: Movie) -> None:
m["year"] = 1992 # allowed
m["year"] = 1999 # allowed
m["title"] = "The Matrix" # typechecker error
There is no runtime checking for this property.