https://github.com/python/cpython/commit/bbec2ea88fcf0e9fb1c07d76103f058a8bc07ed3 commit: bbec2ea88fcf0e9fb1c07d76103f058a8bc07ed3 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s <[email protected]> date: 2024-09-23T11:34:44-07:00 summary:
[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 <[email protected]> files: M Doc/library/typing.rst 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. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
