[Python-Dev] curses wrapper checkin

Greg Stein gstein@lyra.org
Sat, 10 Jun 2000 16:33:05 -0700


On Sat, Jun 10, 2000 at 04:30:13PM -0700, Greg Stein wrote:
> On Sat, Jun 10, 2000 at 04:06:55PM -0700, A.M. Kuchling wrote:
> >...
> > def wrapper(func, *rest):
> >     """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().
> >     """
> >     
> >     res = None

Oh. This line can disappear, too.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/