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

Serhiy Storchaka webhook-mailer at python.org
Sat Nov 4 04:43:01 EDT 2017


https://github.com/python/cpython/commit/fd38819497fd2a52ada674f0c890f5b414d0e87f
commit: fd38819497fd2a52ada674f0c890f5b414d0e87f
branch: 2.7
author: Serhiy Storchaka <storchaka at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-11-04T10:42:56+02:00
summary:

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

(cherry picked from commit b838cc3ff4e039af949c6a19bd896e98e944dcbe)

files:
M Doc/library/curses.rst

diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index 7b56ad7c25d..b36b9d73e35 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -765,11 +765,11 @@ the following methods:
             window.chgat(y, x, num, attr)
 
    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,
-   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.
+   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 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()



More information about the Python-checkins mailing list