https://github.com/python/cpython/commit/3bd942f106aa36c261a2d90104c027026b2a8fb6
commit: 3bd942f106aa36c261a2d90104c027026b2a8fb6
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-09-11T21:25:23+03:00
summary:
Fix "The Matrix" movie release year in `typing.rst` (#123965)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index cb5b46f7167376..fa7932061645a4 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]