HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/opt/alt/python35/lib/python3.5/site-packages/geoip2/mixins.py
"""This package contains utility mixins"""
# pylint: disable=too-few-public-methods
from abc import ABCMeta


class SimpleEquality(object):
    """Naive __dict__ equality mixin"""

    __metaclass__ = ABCMeta

    def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                self.__dict__ == other.__dict__)

    def __ne__(self, other):
        return not self.__eq__(other)