D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3.9
/
site-packages
/
netaddr
/
eui
/
__pycache__
/
Filename :
__init__.cpython-39.pyc
back
Copy
a ��g�d � @ s� d Z ddlmZmZmZ ddlmZmZ ddl mZ ddlm Z ddlmZ ddlmZmZmZ 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)�_open_binary�_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.)�_value�__weakref__c C s d | _ d S �N�r ��self� r �8/usr/lib/python3.9/site-packages/netaddr/eui/__init__.py�__init__ s zBaseIdentifier.__init__c C s | j S �z):return: integer value of this identifierr r r r r �__int__ s zBaseIdentifier.__int__c C s | j S r 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%or r r r r �__oct__"