code: def dot_eth_label(name):
      
      label = name_to_label(name, registrar='eth')
      if len(label) < MIN_ETH_LABEL_LENGTH:
          raise InvalidLabel('name %r is too short' % label)
      else:
          return label
docs: Convert from a name, like 'ethfinex.eth', to a label, like 'ethfinex'
      If name is already a label, this should be a noop, except for converting to a string
      and validating the name syntax.