3 좃[��@sVddlmZmZmZddlZ[[[dd�Zdd�ZejddkrJdd �Znd d �ZdS) �)�absolute_import�print_function�unicode_literalsNcsDddlm�t������fdd�t��D�}|j|�t|j��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|]"}|j��rt�|�|�d��qS)N)� startswith�getattr)�.0Z identifier)r�index�prefix��/usr/lib64/python3.6/util.py� #sz%process_constants..)�r�len�dir�update�list�keys)r ZscopeZ constantsr )rr r r �process_constantss    rcCsdjdd�|D��S)NrcssD|]<}|dks*|dks*|dks*t|�dkr8djt|��n|VqdS)�+�"�%� z%{0:2x}N)�ord�format)r �cr r r � ,sz!percent_escape..)�join)�sr r r �percent_escape+s r �cCs t|t�S)N)� isinstance�str)�xr r r � is_a_string4sr%cCs t|t�S)N)r"Z basestring)r$r r r r%8s) Z __future__rrr�sysrr � version_infor%r r r r �s