Commit fd388194 authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

[2.7] bpo-18699: Corrected documentation for window.chgat in curses module (GH-1430). (#4272)

(cherry picked from commit b838cc3f)
parent f72ad2d3
...@@ -765,11 +765,11 @@ the following methods: ...@@ -765,11 +765,11 @@ the following methods:
window.chgat(y, x, num, attr) window.chgat(y, x, num, attr)
Set the attributes of *num* characters at the current cursor position, or at Set the attributes of *num* characters at the current cursor position, or at
position ``(y, x)`` if supplied. If no value of *num* is given or *num* = -1, position ``(y, x)`` if supplied. If *num* is not given or is ``-1``,
the attribute will be set on all the characters to the end of the line. This the attribute will be set on all the characters to the end of the line. This
function does not move the cursor. The changed line will be touched using the function moves cursor to position ``(y, x)`` if supplied. The changed line
:meth:`touchline` method so that the contents will be redisplayed by the next will be touched using the :meth:`touchline` method so that the contents will
window refresh. be redisplayed by the next window refresh.
.. method:: window.clear() .. method:: window.clear()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment