From 60c6776d3cdda3bf340ee9455e3431d2a70f860b Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 11 Sep 2024 21:25:23 +0300 Subject: [PATCH] Fix "The Matrix" movie release year in `typing.rst` (GH-123965) (cherry picked from commit 3bd942f106aa36c261a2d90104c027026b2a8fb6) Co-authored-by: sobolevn --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index aaf789b626f89b..aec7d4119a76bb 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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.