%PDF- %PDF-
| Direktori : /usr/lib/python3/dist-packages/gpg/__pycache__/ |
| Current File : //usr/lib/python3/dist-packages/gpg/__pycache__/util.cpython-312.pyc |
�
좃[� � �d � d dl mZmZmZ d dlZ[[[d� Zd� Zej d dk( rd� Zyd� Zy)� )�absolute_import�print_function�unicode_literalsNc �� � ddl m} t | � }t |� D �ci c]# }|j | � r||d t ||� ��% }}|j
|� t |j � � S c c}w )z�Called by the constant modules to load up the constants from the C
library starting with PREFIX. Matching constants will be inserted
into SCOPE with PREFIX stripped from the names. Returns the names
of inserted constants.
� )�gpgmeN) � r �len�dir�
startswith�getattr�update�list�keys)�prefix�scoper �index�
identifier� constantss �*/usr/lib/python3/dist-packages/gpg/util.py�process_constantsr sx � � ���K�E� �e�*���
�(=�(=�f�(E� �5�6��G�E�:�6�6��I� �
�L�L���� ��� �!�!��s �(A3c �2 � dj d� | D � � S )Nr c 3 � K � | ]= }|d k( s|dk( s|dk( st |� dk rdj t |� � n|�� �? y�w)�+�"�%� z%{0:2x}N)�ord�format)�.0�cs r � <genexpr>z!percent_escape.<locals>.<genexpr>, sO � �� � �� �3�h�!�s�(�a�3�h�#�a�&�D�.� �#�#�C��F�+�NO�P� �s �AA)�join)�ss r �percent_escaper% + s � �
�7�7� ��� � � � c �"