AlkantarClanX12

Your IP : 18.116.24.111


Current Path : /proc/self/root/usr/lib64/python2.7/curses/
Upload File :
Current File : //proc/self/root/usr/lib64/python2.7/curses/__init__.pyc

�
|fc@s�dZdZddlTddlmZddlZddlZd�Z	d�Z
yeWn!ek
r{ddlmZnXdS(	s�curses

The main package for curses support for Python.  Normally used by importing
the package, and perhaps a particular module inside it.

   import curses
   from curses import textpad
   curses.initscr()
   ...

s$Id$i����(t*(twrapperNcCs�ddl}ddl}tdtjjdd�dtjj��|j	�}xO|j
j�D]>\}}|dd!dks�|dkr_t|||�q_q_W|S(Ni����ttermtTERMtunknowntfdiitACS_tLINEStCOLS(RR(
t_cursestcursest	setuptermt_ostenvirontgett_syst
__stdout__tfilenotinitscrt__dict__titemstsetattr(R	R
tstdscrtkeytvalue((s'/usr/lib64/python2.7/curses/__init__.pyRscCsdddl}ddl}|j�}t|d�rB|j|_nt|d�r`|j|_n|S(Ni����tCOLORStCOLOR_PAIRS(R	R
tstart_colorthasattrRR(R	R
tretval((s'/usr/lib64/python2.7/curses/__init__.pyR-s(thas_key(
t__doc__t__revision__R	tcurses.wrapperRtosRtsysRRRRt	NameError(((s'/usr/lib64/python2.7/curses/__init__.pyt<module>s