
    좃[                     f    d dl mZmZmZ d dlZ[[[d Zd Zej        d          dk    rd ZdS d ZdS )    )absolute_importprint_functionunicode_literalsNc                      ddl m t                      fdt                    D             }|                    |           t          |                                          S )zCalled 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.

       )gpgmec                 l    i | ]0}|                               |d          t          |          1S N)
startswithgetattr).0
identifierr   indexprefixs     */usr/lib/python3/dist-packages/gpg/util.py
<dictcomp>z%process_constants.<locals>.<dictcomp>#   sQ       
(=(=f(E(E566GE:66      ) r   lendirupdatelistkeys)r   scope	constantsr   r   s   `  @@r   process_constantsr      s     KKE     e**  I 
LL	  !!!r   c                 @    d                     d | D                       S )Nr   c              3      K   | ]M}|d k    s|dk    s|dk    st          |          dk    r"d                    t          |                    n|V  NdS )+"%    z%{0:2x}N)ordformat)r   cs     r   	<genexpr>z!percent_escape.<locals>.<genexpr>,   sy         3hh!s((a3hh#a&&D.. ##CFF+++NO     r   )join)ss    r   percent_escaper)   +   s4    77       r      c                 ,    t          | t                    S r
   )
isinstancestrxs    r   is_a_stringr0   4   s    !S!!!r   c                 ,    t          | t                    S r
   )r,   
basestringr.   s    r   r0   r0   8   s    !Z(((r   )	
__future__r   r   r   sysr   r)   version_infor0    r   r   <module>r7      s   & I H H H H H H H H H 



^%5" " ""   A!" " " " ") ) ) ) )r   