]> granicus.if.org Git - python/commitdiff
bpo-18699: Corrected documentation for window.chgat in curses module (GH-1430) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 4 Nov 2017 08:26:44 +0000 (01:26 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Nov 2017 08:26:44 +0000 (10:26 +0200)
(cherry picked from commit b838cc3ff4e039af949c6a19bd896e98e944dcbe)

Doc/library/curses.rst

index 3697407f5c4995d2eb7c4b1f5db0b0cc4ff53cd5..14e32d78e0d16a8a392d721f30cd79d981ac2d22 100644 (file)
@@ -788,10 +788,10 @@ the following methods and attributes:
 
    Set the attributes of *num* characters at the current cursor position, or at
    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
-   function does not move the cursor. The changed line will be touched using the
-   :meth:`touchline` method so that the contents will be redisplayed by the next
-   window refresh.
+   the attribute will be set on all the characters to the end of the line.  This
+   function moves cursor to position ``(y, x)`` if supplied. The changed line
+   will be touched using the :meth:`touchline` method so that the contents will
+   be redisplayed by the next window refresh.
 
 
 .. method:: window.clear()