Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/curses/__init__.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@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%/sys/lib/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%/sys/lib/python2.7/curses/__init__.pyR-s(thas_key(
t__doc__t__revision__R	tcurses.wrapperRtosRtsysRRRRt	NameError(((s%/sys/lib/python2.7/curses/__init__.pyt<module>s

		


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.