|
Apache/2.2.15 (CentOS) Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 uid=48(apache) gid=48(apache) groups=48(apache) server ip : 172.67.192.52 | your ip : 10.244.126.0 safemode OFF > / usr / lib64 / python2.6 / curses / |
| Filename | /usr/lib64/python2.6/curses/wrapper.pyc |
| Size | 1.15 kb |
| Permission | rw-r--r-- |
| Owner | apache |
| Create time | 23-Dec-2025 17:41 |
| Last modified | 20-Jun-2019 19:45 |
| Last accessed | 22-Apr-2026 09:40 |
| Actions | edit | rename | delete | download (gzip) |
| View | text | code | image |
Ñò
§ÚêLc @ s d Z d d k Z d � Z d S( s curses.wrapper
Contains one function, wrapper(), which runs another function which
should be the rest of your curses-based application. If the
application raises an exception, wrapper() will restore the terminal
to a sane state so you can read the resulting traceback.
iÿÿÿÿNc
O s� zY t i � } t i � t i � | i d � y t i � Wn n X| | | | � SWd | i d � t i � t i � t i � Xd S( s Wrapper 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().
i Ni ( t cursest initscrt noechot cbreakt keypadt start_colort echot nocbreakt endwin( t funct argst kwdst stdscr( ( s&
§ÚêLc @ s d Z d d k Z d � Z d S( s curses.wrapper
Contains one function, wrapper(), which runs another function which
should be the rest of your curses-based application. If the
application raises an exception, wrapper() will restore the terminal
to a sane state so you can read the resulting traceback.
iÿÿÿÿNc
O s� zY t i � } t i � t i � | i d � y t i � Wn n X| | | | � SWd | i d � t i � t i � t i � Xd S( s Wrapper 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().
i Ni ( t cursest initscrt noechot cbreakt keypadt start_colort echot nocbreakt endwin( t funct argst kwdst stdscr( ( s&