INNER CODE UNIT · Python

__hash__

pybuilder/pybuilder · src/main/python/pybuilder/_vendor/annotated_doc/main.py:30

    def __hash__(self) -> int:
        return hash(self.documentation)

    def __eq__(self, other: object) -> bool:
        if not isinstance(other, Doc):
            return NotImplemented
        return self.documentation == other.documentation

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…