Method: pylint.extensions.typing.TypingChecker._is_binop_union_annotation
Calls: 95, Exceptions: 0, Paths: 2Back
Path 1: 72 calls (0.76)
Subscript (55) BinOp (13) Attribute (4)
False (59) True (13)
1def _is_binop_union_annotation(self, annotation: nodes.NodeNG) -> bool:
2 return self._should_check_alternative_union_syntax and isinstance(
3 annotation, nodes.BinOp
4 )
Path 2: 23 calls (0.24)
Subscript (21) Attribute (2)
False (23)
1def _is_binop_union_annotation(self, annotation: nodes.NodeNG) -> bool:
2 return self._should_check_alternative_union_syntax and isinstance(
3 annotation, nodes.BinOp
4 )