docs: def get_path_components(path):
      """Extract the module name and class name out of the fully qualified path to the class.
  
      :param str path: The full path to the class.
      :return: The module path and the class name.
      :rtype: str, str
      :raise: ``VerifyingDoubleImportError`` if the path is to a top-level module.
      """
  
      path_segments = path.split('.')
      module_path = '.'.join(path_segments[:-1])
  
      if module_path == '':
          raise VerifyingDoubleImportError('Invalid import path: {}.'.format(path))
  
      class_name = path_segments[-1]
  
      return module_path, class_name