Skip to content

Commit 5ffe606

Browse files
authored
Fix comment for Unpack usage in foo function
1 parent 4f0dec3 commit 5ffe606

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-data/unit/check-varargs.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def baz(**kwargs: Unpack[Person]) -> None: # OK
792792
[case testUnpackWithoutTypedDict]
793793
from typing_extensions import Unpack
794794

795-
def foo(**kwargs: Unpack[dict]) -> None: # E: Unpack item in ** argument must be a TypedDict
795+
def foo(**kwargs: Unpack[dict]) -> None: # E: Unpack item in ** parameter must be a TypedDict
796796
...
797797
[builtins fixtures/dict.pyi]
798798

0 commit comments

Comments
 (0)