관리-도구
편집 파일: plistlib.cpython-312.opt-2.pyc
� �Q�f�n � � � g d �Z ddlZddlZddlZddlZddlmZ ddlZddlZddl Z ddl Z ddlmZ ej dde�� Z e� j# ej$ � G d� d � Zd Z e j* d� Zd0d�Zd � Z e j* de j2 � Zd� Zd� Zd� Z G d� d� Z G d� d� Z G d� de� Z d� Z! G d� de"� Z#ddddd�Z$ e%� Z& G d � d!� Z'd"� Z(e)e*e+ej e,fZ- G d#� d$e%� Z.d%� Z/e0 e1e!ee �&� e2 e1e/e'e.�&� iZ3de1d'�d(�Z4de1d'�d)�Z5e0d*d+d,�d-�Z6e0d+d*d.�d/�Z7y)1)�InvalidFileException�FMT_XML� FMT_BINARY�load�dump�loads�dumps�UID� N)�BytesIO)�ParserCreate�PlistFormatzFMT_XML FMT_BINARY)�modulec �0 � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zy)r c � � t |t � st d� �|dk\ rt d� �|dk rt d� �|| _ y )Nzdata must be an int� zUIDs cannot be >= 2**64r �UIDs must be positive)� isinstance�int� TypeError� ValueError�data��selfr s �//opt/alt/python312/lib64/python3.12/plistlib.py�__init__zUID.__init__N sE � ��$��$��1�2�2��7�?��6�7�7��!�8��4�5�5��� � c � � | j S �N)r �r s r � __index__z UID.__index__W s � ��y�y�r c �` � | j j �dt | j � �d�S )N�(�))� __class__�__name__�reprr r s r �__repr__zUID.__repr__Z s � ��>�>�2�2�D����O�D�Dr c �4 � | j | j ffS r )r$ r r s r � __reduce__zUID.__reduce__] s � ��~�~�� � �|�+�+r c �` � t |t � st S | j |j k( S r )r r �NotImplementedr )r �others r �__eq__z UID.__eq__` s% � ��%��%�!�!��y�y�E�J�J�&�&r c �, � t | j � S r )�hashr r s r �__hash__zUID.__hash__e s � ��D�I�I��r N) r% � __module__�__qualname__r r r'