Method: pylint.checkers.base.comparison_checker._is_one_arg_pos_call
Calls: 646, Exceptions: 0, Paths: 1Back
Path 1: 646 calls (1.0)
Name (375) Call (72) Attribute (70) Const (63) Subscript (16) BinOp (15) List (11) Tuple (9) NamedExpr (7) Dict (3)
False (601) True (45)
1def _is_one_arg_pos_call(call: nodes.NodeNG) -> bool:
2 """Is this a call with exactly 1 positional argument ?"""
3 return isinstance(call, nodes.Call) and len(call.args) == 1 and not call.keywords