Skip to content

Commit be954f5

Browse files
committed
Remove unused instance var
1 parent f153850 commit be954f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mypy/types.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ class CallableType(FunctionLike):
543543
arg_names = None # type: List[str] # None if not a keyword argument
544544
min_args = 0 # Minimum number of arguments; derived from arg_kinds
545545
is_var_arg = False # Is it a varargs function? derived from arg_kinds
546-
is_kw_arg = False
547546
ret_type = None # type: Type # Return value type
548547
name = '' # Name (may be None; for error messages)
549548
definition = None # type: SymbolNode # For error messages. May be None.
@@ -590,7 +589,6 @@ def __init__(self,
590589
self.arg_names = arg_names
591590
self.min_args = arg_kinds.count(ARG_POS)
592591
self.is_var_arg = ARG_STAR in arg_kinds
593-
self.is_kw_arg = ARG_STAR2 in arg_kinds
594592
self.ret_type = ret_type
595593
self.fallback = fallback
596594
assert not name or '<bound method' not in name

0 commit comments

Comments
 (0)