def _SetMustSplitOnFirstLeaf(node):

  def FindFirstLeaf(node):
    if isinstance(node, pytree.Leaf):
      return node

    return FindFirstLeaf(node.children[0])

  pytree_utils.SetNodeAnnotation(
      FindFirstLeaf(node), pytree_utils.Annotation.MUST_SPLIT, True)
Write data and exit. Useful for more complicated commands that need to
dataset/ETHPy150Open google/yapf/yapf/yapflib/pytree_unwrapper.py/_SetMustSplitOnFirstLeaf--crossover with--dataset/ETHPy150Open basilfx/kippo-extra/kippo_extra/utils.py/ExtendedHoneyPotCommand.writeln_and_exit