HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/gpg/__pycache__/util.cpython-310.pyc
o

좃[��@sXddlmZmZmZddlZ[[[dd�Zdd�Zejddkr&dd	�ZdSd
d	�ZdS)�)�absolute_import�print_function�unicode_literalsNcsDddlm�t������fdd�t��D�}|�|�t|���S)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.

    �)�gpgmecs*i|]}|���r|�d�t�|��qS�N)�
startswith�getattr)�.0�
identifier�r�index�prefix��*/usr/lib/python3/dist-packages/gpg/util.py�
<dictcomp>#s

��z%process_constants.<locals>.<dictcomp>)�r�len�dir�update�list�keys)r�scope�	constantsrrr�process_constantss�
rcCsd�dd�|D��S)NrcssF�|]}|dks|dks|dkst|�dkrd�t|��n|VqdS)�+�"�%� z%{0:2x}N)�ord�format)r
�crrr�	<genexpr>,s�$��
�z!percent_escape.<locals>.<genexpr>)�join)�srrr�percent_escape+s
�r%�cC�
t|t�Sr)�
isinstance�str��xrrr�is_a_string4�
r,cCr'r)r(�
basestringr*rrrr,8r-)	�
__future__rrr�sysrr%�version_infor,rrrr�<module>s