Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit3bd942f

Browse files
authored
Fix "The Matrix" movie release year intyping.rst (#123965)
1 parenteb169f4 commit3bd942f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/library/typing.rst‎

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp