]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix "The Matrix" movie release year in `typing.rst` (GH-123965) (#123966)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Sep 2024 18:34:44 +0000 (20:34 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Sep 2024 18:34:44 +0000 (11:34 -0700)
Fix "The Matrix" movie release year in `typing.rst` (GH-123965)
(cherry picked from commit 3bd942f106aa36c261a2d90104c027026b2a8fb6)

Co-authored-by: sobolevn <mail@sobolevn.me>
Doc/library/typing.rst

index aaf789b626f89bea5f433ae8822ec9a87e70c98d..aec7d4119a76bb37b43338917fe7900c86122daa 100644 (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.