diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2007-04-11 13:39:00 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2007-04-11 13:39:00 (GMT) |
commit | 400a49ba794b343a8ff46a6f736ad846be80454a (patch) | |
tree | 627eb99340a4fdcd911b143f078e25fde3e5f159 /Doc/whatsnew | |
parent | 781aef2d6beda314108ac3ad05098e2cbf9e2eab (diff) | |
download | cpython-400a49ba794b343a8ff46a6f736ad846be80454a.zip cpython-400a49ba794b343a8ff46a6f736ad846be80454a.tar.gz cpython-400a49ba794b343a8ff46a6f736ad846be80454a.tar.bz2 |
Add window.chgat() method, submitted via e-mail by Fabian Kreutz
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/whatsnew26.tex | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew26.tex b/Doc/whatsnew/whatsnew26.tex index fa7dd40..3543d9d 100644 --- a/Doc/whatsnew/whatsnew26.tex +++ b/Doc/whatsnew/whatsnew26.tex @@ -135,6 +135,18 @@ print var[2], var.type # Equivalent (Contributed by Raymond Hettinger.) +\item New method in the \module{curses} module: +for a window, \method{chgat()} changes the display characters for a +certain number of characters on a single line. + +\begin{verbatim} +# Boldface text starting at y=0,x=21 +# and affecting the rest of the line. +stdscr.chgat(0,21, curses.A_BOLD) +\end{verbatim} + +(Contributed by Fabian Kreutz.) + \item New function in the \module{heapq} module: \function{merge(iter1, iter2, ...)} takes any number of iterables that return data |