Skip to content

Commit b3fd9ff

Browse files
committed
more edits
1 parent 4734bd3 commit b3fd9ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/error_code_list2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Example:
3232
3333
# mypy: disallow-any-generics
3434
35-
# Error: Missing type parameters for generic type "list" [type-arg]
35+
# Error: Missing type arguments for generic type "list" [type-arg]
3636
def remove_dups(items: list) -> list:
3737
...
3838

test-data/unit/check-flags.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,8 +1851,8 @@ main:2: error: Module "other_module_2" does not explicitly export attribute "a"
18511851
from typing import List
18521852

18531853
A = List # OK
1854-
B = List[A] # E:10: Missing type parameters for generic type "A"
1855-
x: A # E:4: Missing type parameters for generic type "A"
1854+
B = List[A] # E:10: Missing type arguments for generic type "A"
1855+
x: A # E:4: Missing type arguments for generic type "A"
18561856
[builtins fixtures/list.pyi]
18571857

18581858
[case testDisallowAnyExplicitDefSignature]

0 commit comments

Comments
 (0)