]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix "The Matrix" movie release year in `typing.rst` (#123965)
authorsobolevn <mail@sobolevn.me>
Wed, 11 Sep 2024 18:25:23 +0000 (21:25 +0300)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2024 18:25:23 +0000 (21:25 +0300)
Doc/library/typing.rst

index cb5b46f7167376d09378603f05f30ed4f8b93d86..fa7932061645a4351a5c20566b9c231a465b5033 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.