Your IP : 18.116.85.111
3
�b�Wh
� @ s� d Z dZdZdZdZdZdZdZdZeeeeeeed�Z d eiZ
ed
d� e j� D ��Z
edd� e
j� D ��Zd
d� Zee
�Zee�Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )zDNS Message Flags.i � i i � � � � )�QR�AA�TC�RD�RA�AD�CD�DOc c s | ]\}}||fV qd S )N� )�.0�x�yr
r
�/usr/lib/python3.6/flags.py� <genexpr>3 s r c c s | ]\}}||fV qd S )Nr
)r r r r
r
r r 5 s c C s t | j� �}|j� |j� |S )N)�list�items�sort�reverse)�table�orderr
r
r �_order_flags8 s r c C s. d}| j � }x|D ]}|||j� B }qW |S )N� )�split�upper)�textr �flags�tokens�tr
r
r �
_from_textC s
r! c C s6 g }x&|D ]\}}| |@ dkr
|j |� q
W dj|�S )Nr � )�append�join)r r r Z
text_flags�k�vr
r
r �_to_textK s
r'