Get a specific section header by index or name.

        Args:
            section(int or str): The index or name of the section header to return.

        Returns:
            :class:`~ELF.SectionHeader`: The section header.

        Raises:
            KeyError: The requested section header does not exist.

def get_section_header(self, section):
        """
        Get a specific section header by index or name.

        Args:
            section(int or str): The index or name of the section header to return.

        Returns:
            :class:`~ELF.SectionHeader`: The section header.

        Raises:
            KeyError: The requested section header does not exist.
        """

        self._ensure_section_headers_loaded()
        if type(section) is int:
            return self._section_headers_by_index[section]
        else:
            return self._section_headers_by_name[section]