code: def _segmentrepr(obj):
      """
      >>> _segmentrepr([1, [2, 3], [], [[2, [3, 4], [0.1, 2.2]]]])
      '(1, (2, 3), (), ((2, (3, 4), (0.1, 2.2))))'
      """
      try:
          it = iter(obj)
      except TypeError:
          return "%g" % obj
      else:
          return "(%s)" % ", ".join(_segmentrepr(x) for x in it)
  
imports: from fontTools.misc.arrayTools import calcBounds, sectRect, rectArea
  from fontTools.misc.transform import Identity
  import math
  from collections import namedtuple
  from math import sqrt, acos, cos, pi
label_desc: Use image node_id 50 for calling a global function with example usage: _segmentrepr(obj) and returns: unknown, unknown