Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3bd942f

Browse filesBrowse files
authored
Fix "The Matrix" movie release year in typing.rst (#123965)
1 parent eb169f4 commit 3bd942f
Copy full SHA for 3bd942f

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Doc/library/typing.rst

Copy file name to clipboardExpand all lines: Doc/library/typing.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ These can be used as types in annotations. They all support subscription using
13161316
year: int
13171317

13181318
def mutate_movie(m: Movie) -> None:
1319-
m["year"] = 1992 # allowed
1319+
m["year"] = 1999 # allowed
13201320
m["title"] = "The Matrix" # typechecker error
13211321

13221322
There is no runtime checking for this property.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.