INNER CODE UNIT · Python

__init__

netaddr/netaddr · netaddr/eui/__init__.py:24

    def __init__(self):
        self._value = None

    def __int__(self):
        """:return: integer value of this identifier"""
        return self._value

    def __index__(self):
        """
        :return: return the integer value of this identifier.
        """
        return self._value


class OUI(BaseIdentifier):
    """
    An individual IEEE OUI (Organisationally Unique Identifier).

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…