From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:34:44 +0000 (+0200) Subject: [3.13] Fix "The Matrix" movie release year in `typing.rst` (GH-123965) (#123966) X-Git-Tag: v3.13.0rc3~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbec2ea88fcf0e9fb1c07d76103f058a8bc07ed3;p=thirdparty%2FPython%2Fcpython.git [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 3bd942f106aa36c261a2d90104c027026b2a8fb6) Co-authored-by: sobolevn --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index aaf789b626f8..aec7d4119a76 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.