AlkantarClanX12

Your IP : 3.128.171.192


Current Path : /opt/alt/python33/lib64/python3.3/curses/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/curses/__pycache__/__init__.cpython-33.pyc

�
��f&
c@s}dZddlTddlZddlZdd�Zdd�ZyeWn"e	k
rldd	lmZYnXd
d�Z
dS(u�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()
   ...

i(u*NcCs�ddl}ddl}tdtjjdd�dtjj��|j	�}xR|j
j�D]A\}}|dd�dks�|d
kr_t|||�q_q_W|S(NiutermuTERMuunknownufdiuACS_uLINESuCOLS(uLINESuCOLS(
u_cursesucursesu	setuptermu_osuenvironugetu_sysu
__stdout__ufilenouinitscru__dict__uitemsusetattr(u_cursesucursesustdscrukeyuvalue((u4/opt/alt/python33/lib64/python3.3/curses/__init__.pyuinitscrs"uinitscrcCsdddl}ddl}|j�}t|d�rB|j|_nt|d�r`|j|_n|S(NiuCOLORSuCOLOR_PAIRS(u_cursesucursesustart_coloruhasattruCOLORSuCOLOR_PAIRS(u_cursesucursesuretval((u4/opt/alt/python33/lib64/python3.3/curses/__init__.pyustart_color*sustart_colori(uhas_keycOs�zNt�}t�t�|jd�yt�WnYnX||||�SWddt�kr�|jd�t�t�t�nXdS(uWrapper function that initializes curses and calls another function,
    restoring normal keyboard/screen behavior on error.
    The callable object 'func' is then passed the main window 'stdscr'
    as its first argument, followed by any other arguments passed to
    wrapper().
    iNustdscri(	uinitscrunoechoucbreakukeypadustart_colorulocalsuechounocbreakuendwin(ufuncuargsukwdsustdscr((u4/opt/alt/python33/lib64/python3.3/curses/__init__.pyuwrapper?s	

uwrapper(u__doc__u_cursesuosu_osusysu_sysuinitscrustart_coloruhas_keyu	NameErroruwrapper(((u4/opt/alt/python33/lib64/python3.3/curses/__init__.pyu<module>s