%PDF- %PDF-
Direktori : /lib/python3/dist-packages/xdg/__pycache__/ |
Current File : //lib/python3/dist-packages/xdg/__pycache__/IniFile.cpython-312.pyc |
� �u�cH5 � � � d Z ddlZddlZddlZddlZddlmZmZmZm Z m Z mZmZ ddl ZddlmZ ddlZd� Z G d� d� Zy)z5 Base Class for DesktopEntry, IconTheme and IconData � N)�ParsingError�DuplicateGroupError�NoGroupError� NoKeyError�DuplicateKeyError�ValidationError�debug)�uc �H � | j dd� y# t $ r Y yw xY w)z>Return True if a string consists entirely of ASCII characters.�ascii�strictTF)�encode�UnicodeError)�ss �-/usr/lib/python3/dist-packages/xdg/IniFile.py�is_asciir s* � �� ����(�#���� ���s � � !�!c �� � e Zd ZdZdZdZdZdZdd�Zd� Z dd�Z d d�Zd� Zd � Z dd �Zd!d�Zd� Zd � Zd"d�Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd#d�Zd#d�Zd� Zd� Zd$d�Zd� Zd� Z dd�Z!d� Z"y)%�IniFile� NFc �J � t � | _ |r| j |� y y �N)�dict�content�parse)�self�filenames r �__init__zIniFile.__init__ s � ��v�����J�J�x� � � c �B � t | j |j � S r )�cmpr )r �others r �__cmp__zIniFile.__cmp__# s � ��4�<�<����/�/r c �& � | j }t j j |� st d|� � t j |ddd�� }|5 |D ]� }|j � }|s�|d dk( r�|d d k( rI|j d � j d � }t r| j |� rt ||� �i ||<