code: def _build_line(colwidths, colaligns, linefmt):
      "Return a string which represents a horizontal line."
      if not linefmt:
          return None
      if hasattr(linefmt, "__call__"):
          return linefmt(colwidths, colaligns)
      else:
          begin, fill, sep, end = linefmt
          cells = [fill * w for w in colwidths]
          return _build_simple_row(cells, (begin, sep, end))
  
imports: from __future__ import print_function
  from __future__ import unicode_literals
  from collections import namedtuple
  from platform import python_version_tuple
  import re
label_desc: Use image node_id 25 for calling a global function with example usage: _build_line(colwidths, colaligns, linefmt) and returns: None, linefmt, _build_simple_row