[docs] Clarity for curses.wrapper
barclata at gmail.com
Fri Oct 20 02:20:27 EDT 2017
MAJOR DISCLAIMER: I'm 7.4ish beers deep
In the documentation for the curses library of Python 3.6 it mentions that
curses.wrapper(*function*) will do some common curses initializations
before running *function*. Then it will run *function* waiting for a thrown
exception or the end before doing some cleanup. It does not however
explicitly state that the return value of curses.initscr() is passed into
that function. It is only implicitly shown through the code example.
For the sake of future drunk programmers, please make that more clear.
I super understand this is stupid and minor and I could be mistaken (SEE
Electrcial Engineering &Computer Science, University of Kansas
tjbarclay at ku.edu
+1 316 259 2250
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs