tools/metrics/histograms/suffixes_to_variants.py
def _RemoveSuffixesComment(node, histogram_suffixes_name):
  """Remove suffixes related comments from |node|."""
  for child in node.childNodes:
    if child.nodeType == minidom.Node.COMMENT_NODE:
      if ('Name completed by' in child.data
          and histogram_suffixes_name in child.data):
        node.removeChild(child)
Remove suffixes related comments from |node|.
Remove suffixes related comments from |node|.
Remove suffixes related comments from |node| .
def _RemoveSuffixesComment(node, histogram_suffixes_name):
  for child in node.childNodes:
    if child.nodeType == minidom.Node.COMMENT_NODE:
      if ('Name completed by' in child.data
          and histogram_suffixes_name in child.data):
        node.removeChild(child)
def _RemoveSuffixesComment ( node , histogram_suffixes_name ) : for child in node . childNodes : if child . nodeType == minidom . Node . COMMENT_NODE : if ( 'Name completed by' in child . data and histogram_suffixes_name in child . data ) : node . removeChild ( child )
Remove suffixes related comments from |node|.
Remove suffixes related comments from |node| .
"""Remove suffixes related comments from |node|."""
node
histogram_suffixes_name