ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python3.8/curses/__pycache__/__init__.cpython-38.opt-1.pyc
U

e5d@shdZddlTddlZddlZddZddZzeWn e	k
rTdd	lmZYnXd
dZ
de
_dS)
zcurses

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()
   ...

)*NcCspddl}ddl}ttjddtjd|	}|j
D],\}}|dddks^|dkr>t|||q>|S)NrZTERMunknown)ZtermfdZACS_)ZLINESZCOLS)
_cursescursesZ	setupterm_osenvironget_sys
__stdout__filenoinitscr__dict__itemssetattr)rrstdscrkeyvaluer'/usr/lib64/python3.8/curses/__init__.pyrsrcCs@ddl}ddl}|}t|dr*|j|_t|dr<|j|_|S)NrCOLORSCOLOR_PAIRS)rrstart_colorhasattrrr)rrZretvalrrrr*s

r)has_keyc	Os|r|^}}n<d|kr:|d}ddl}|jdtddntdt|zHt}tt
|d	z
tWnYnX||f||WSdtkr|dtt	t
XdS)
aWrapper 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().
    funcrNz0Passing 'func' as keyword argument is deprecated)
stacklevelz7wrapper expected at least 1 positional argument, got %drr)popwarningswarnDeprecationWarning	TypeErrorlenlocalsZkeypadZechoZnocbreakZendwinrZnoechoZcbreakr)argskwdsrr!rrrrwrapper?s6





r)z(func, /, *args, **kwds))__doc__rosrsysrrrr	NameErrorr)__text_signature__rrrr<module>s
2