File: //proc/self/root/usr/lib/python3.6/site-packages/netaddr/eui/__pycache__/__init__.cpython-36.pyc
3
��]�a � @ s� d Z ddlmZmZmZ ddlmZmZ ddl
mZ ddlm
Z
ddlmZ ddlmZmZ G dd � d e�ZG d
d� de�ZG dd
� d
e�ZG dd� de�ZdS )z]
Classes and functions for dealing with MAC addresses, EUI-48, EUI-64, OUI, IAB
identifiers.
� )�NotRegisteredError�AddrFormatError�
DictDotLookup)�eui48�eui64)� mac_eui48)�
eui64_base)� IPAddress)�_is_int�_is_strc @ sD e Zd ZdZdZdd� Zdd� Zdd� Zd d
� Zdd� Z d
d� Z
dS )�BaseIdentifierz$Base class for all IEEE identifiers.�_valuec C s
d | _ d S )N)r
)�self� r �/usr/lib/python3.6/__init__.py�__init__ s zBaseIdentifier.__init__c C s | j S )z):return: integer value of this identifier)r
)r r r r �__int__ s zBaseIdentifier.__int__c C s | j S )z):return: integer value of this identifier)r
)r r r r �__long__ s zBaseIdentifier.__long__c C s | j dkrdS d| j S )z8:return: octal string representation of this identifier.r �0z0%o)r
)r r r r �__oct__"