
    좃[                     d    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yd Zy)    )absolute_importprint_functionunicode_literalsNc                     ddl m} t        |       }t        |      D ci c]#  }|j	                  |       r||d t        ||      % }}|j                  |       t        |j                               S c c}w )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.

       )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     KE e*
(=(=f(E 	56GE:66I  
LL	 !!s   (A3c                 2    dj                  d | D              S )Nr	   c              3      K   | ]=  }|d k(  s|dk(  s|dk(  st        |      dk  rdj                  t        |            n| ? yw)+"%    z%{0:2x}N)ordformat).0cs     r   	<genexpr>z!percent_escape.<locals>.<genexpr>,   sO       3h!s(a3h#a&D. ##CF+NOP s   AA)join)ss    r   percent_escaper%   +   s     77          c                 "    t        | t              S N)
isinstancestrxs    r   is_a_stringr.   4   s    !S!!r&   c                 "    t        | t              S r)   )r*   
basestringr,   s    r   r.   r.   8   s    !Z((r&   )	
__future__r   r   r   sysr   r%   version_infor.    r&   r   <module>r5      sB   & I H 
^%5"" A!")r&   