code: def _len_frame(obj):
      '''Length of a frame object.
      '''
      c = getattr(obj, 'f_code', None)
      if c:
         n = _len_code(c)
      else:
         n = 0
      return f _len_frame(obj):
      '''Length of a frame object.
      '''
      c = getattr(obj, 'f_code', None)
      if c:
         n = _len_code(c)
      else:
         n = 0
      return n
docs: Length of a frame object.