def _SetUnbreakableOnChildren(self, node):
    for child in node.children:
      self.Visit(child)
    start = 2 if hasattr(node.children[0], 'is_pseudo') else 1
    for i in py3compat.range(start, len(node.children)):
      self._SetUnbreakable(node.children[i])
Set an UNBREAKABLE penalty annotation on children of node.
dataset/ETHPy150Open google/yapf/yapf/yapflib/split_penalty.py/_TreePenaltyAssigner._SetUnbreakableOnChildren