관리-도구
편집 파일: __init__.cpython-37.opt-2.pyc
B YI~d � @ s^ d dl T d dlZd dlZdd� Zdd� Zye W n ek rP ddlmZ Y nX d d � Z dS )� )�*Nc C st dd l } dd l}ttj�dd�tj�� d� | � � }x:| j �� D ],\}}|dd� dks`|dkr@t|||� q@W |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/python37/lib64/python3.7/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�}ntdt| � ��zDt� }t� t� |�d� y t� W n Y nX ||f| �|�S dt� kr�|�d� t � t � t� X d S )N�funcz7wrapper expected at least 1 positional argument, got %dr r r )�pop� TypeError�lenr ZnoechoZcbreakZkeypadr �localsZechoZnocbreakZendwin)�args�kwdsr r r r r �wrapper? s* r$ ) r �osr �sysr r r r � NameErrorr$ r r r r �<module> s