[2.7] bpo-18699: Corrected documentation for window.chgat in curses m… · python/cpython@fd38819

Original file line numberDiff line numberDiff line change

@@ -765,11 +765,11 @@ the following methods:

765765

window.chgat(y, x, num, attr)

766766
767767

Set the attributes of *num* characters at the current cursor position, or at

768-

position ``(y, x)`` if supplied. If no value of *num* is given or *num* = -1,

769-

the attribute will be set on all the characters to the end of the line. This

770-

function does not move the cursor. The changed line will be touched using the

771-

:meth:`touchline` method so that the contents will be redisplayed by the next

772-

window refresh.

768+

position ``(y, x)`` if supplied. If *num* is not given or is ``-1``,

769+

the attribute will be set on all the characters to the end of the line. This

770+

function moves cursor to position ``(y, x)`` if supplied. The changed line

771+

will be touched using the :meth:`touchline` method so that the contents will

772+

be redisplayed by the next window refresh.

773773
774774
775775

.. method:: window.clear()