Your IP : 13.58.245.158
U
i�f� � @ sd d dl T d dlZd dlZdd� Zdd� Zze W n ek
rP ddlmZ Y nX d d
� Z de _
dS )� )�*Nc C sp dd l } dd l}ttj�dd�tj�� d� | � � }| j
�� D ],\}}|dd� dks^|dkr>t|||� q>|S )Nr ZTERM�unknown)Zterm�fd� ZACS_)ZLINESZCOLS)
�_curses�cursesZ setupterm�_os�environ�get�_sys�
__stdout__�fileno�initscr�__dict__�items�setattr)r r �stdscr�key�value� r �4/opt/alt/python38/lib64/python3.8/curses/__init__.pyr s �r c C s@ dd l } dd l}| �� }t| d�r*| j|_t| d�r<| j|_|S )Nr �COLORS�COLOR_PAIRS)r r �start_color�hasattrr r )r r Zretvalr r r r * s
r � )�has_keyc O s� | r| ^}} n<d|kr:|� d�}dd l}|jdtdd� ntdt| � ��zHt� }t� t
� |�d� z
t� W n Y nX ||f| �|�W �S dt� kr�|�d� t� t � t
� X d S ) N�funcr z0Passing 'func' as keyword argument is deprecated� )�
stacklevelz7wrapper expected at least 1 positional argument, got %dr r )�pop�warnings�warn�DeprecationWarning� TypeError�len�localsZkeypadZechoZnocbreakZendwinr ZnoechoZcbreakr )�args�kwdsr r! r r r r �wrapper? s6
��
r) z(func, /, *args, **kwds))r �osr �sysr r r r � NameErrorr) �__text_signature__r r r r �<module>
s
2