8000 [2.7] bpo-18699: Corrected documentation for window.chgat in curses m… · python/cpython@fd38819 · GitHub
[go: up one dir, main page]

Skip to content

Commit fd38819

Browse files
[2.7] bpo-18699: Corrected documentation for window.chgat in curses module (GH-1430). (#4272)
(cherry picked from commit b838cc3)
1 parent f72ad2d commit fd38819

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/curses.rst

Lines changed: 5 additions & 5 deletions
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()

0 commit comments

Comments
 (0)
0