✏️ 正在编辑: __init__.cpython-36.pyc
路径:
/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__"