[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 <mail@sobolevn.me>
This commit is contained in:
Miss Islington (bot) 2024-09-23 20:34:44 +02:00 committed by GitHub
parent 86f30dd539
commit bbec2ea88f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.