summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-09-11 18:25:23 (GMT)
committerGitHub <noreply@github.com>2024-09-11 18:25:23 (GMT)
commit3bd942f106aa36c261a2d90104c027026b2a8fb6 (patch)
tree39c80f29029e5ec1ecbc36e7b5bb7d3bacfe46de
parenteb169f40276a8611827770f02c4b82827c98e00f (diff)
downloadcpython-3bd942f106aa36c261a2d90104c027026b2a8fb6.zip
cpython-3bd942f106aa36c261a2d90104c027026b2a8fb6.tar.gz
cpython-3bd942f106aa36c261a2d90104c027026b2a8fb6.tar.bz2
Fix "The Matrix" movie release year in `typing.rst` (#123965)
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index cb5b46f..fa79320 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.