From 0976f8607bb0fad47c1b9dab25bd1bcf3f5a0b81 Mon Sep 17 00:00:00 2001 From: Ilya Konstantinov Date: Fri, 27 Jan 2023 18:01:11 -0500 Subject: [PATCH] CallableType.copy_modified: arg_name is sequence --- mypy/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/types.py b/mypy/types.py index 0244f57847c5..b9426fcfe400 100644 --- a/mypy/types.py +++ b/mypy/types.py @@ -1771,7 +1771,7 @@ def copy_modified( self: CT, arg_types: Bogus[Sequence[Type]] = _dummy, arg_kinds: Bogus[list[ArgKind]] = _dummy, - arg_names: Bogus[list[str | None]] = _dummy, + arg_names: Bogus[Sequence[str | None]] = _dummy, ret_type: Bogus[Type] = _dummy, fallback: Bogus[Instance] = _dummy, name: Bogus[str | None] = _dummy,