def _ClassifyInclude(fileinfo, include, is_system):
 is_cpp_h = (include in _CPP_HEADERS)
 if is_system:
  if is_cpp_h:
   return _CPP_SYS_HEADER
  else:
   return _C_SYS_HEADER
 (target_dir, target_base) = os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName()))
 (include_dir, include_base) = os.path.split(_DropCommonSuffixes(include))
 if ((target_base == include_base) and ((include_dir == target_dir) or (include_dir == os.path.normpath((target_dir + '/../public'))))):
  return _LIKELY_MY_HEADER
 target_first_component = _RE_FIRST_COMPONENT.match(target_base)
 include_first_component = _RE_FIRST_COMPONENT.match(include_base)
 if (target_first_component and include_first_component and (target_first_component.group(0) == include_first_component.group(0))):
  return _POSSIBLE_MY_HEADER
 return _OTHER_HEADER

def _ClassifyInclude ( fileinfo , include , is_system ) : is_cpp_h = ( include in _CPP_HEADERS ) if is_system : if is_cpp_h : return _CPP_SYS_HEADER else : return _C_SYS_HEADER ( target_dir , target_base ) = os . path . split ( _DropCommonSuffixes ( fileinfo . RepositoryName ( ) ) ) ( include_dir , include_base ) = os . path . split ( _DropCommonSuffixes ( include ) ) if ( ( target_base == include_base ) and ( ( include_dir == target_dir ) or ( include_dir == os . path . normpath ( ( target_dir + '/../public' ) ) ) ) ) : return _LIKELY_MY_HEADER target_first_component = _RE_FIRST_COMPONENT . match ( target_base ) include_first_component = _RE_FIRST_COMPONENT . match ( include_base ) if ( target_first_component and include_first_component and ( target_first_component . group ( 0 ) == include_first_component . group ( 0 ) ) ) : return _POSSIBLE_MY_HEADER return _OTHER_HEADER
figures out what kind of header include is .