code: def _len_int(obj):
      '''Length of multi-precision int (aka long) in digits.
      '''
      if obj:
          n, i = 1, abs(obj)
          if i > _digitmax:
               # no log(x[, base]) in Python 2.2
              n += int(log(i) * _digitlog)
      else:  # zero
          n = 0
      return f _len_int(obj):
      '''Length of multi-precision int (aka long) in digits.
      '''
      if obj:
          n, i = 1, abs(obj)
          if i > _digitmax:
               # no log(x[, base]) in Python 2.2
              n += int(log(i) * _digitlog)
      else:  # zero
          n = 0
      return n
docs: Length of multi-precision int (aka long) in digits.