docs: def _split_mod_var_names(resource_name):
      """ Return (module_name, class_name) pair from given string. """
      try:
          dot_index = resource_name.rindex('.')
      except ValueError:
          # no dot found
          return '', resource_name
      return resource_name[:dot_index], resource_name[dot_index + 1:]