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

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


https://github.com/python/cpython/commit/b838cc3ff4e039af949c6a19bd896e98e944dcbe
commit: b838cc3ff4e039af949c6a19bd896e98e944dcbe
branch: master
author: Chillar Anand <anand21nanda at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2017-11-04T10:13:16+02:00
summary:

bpo-18699: Corrected documentation for window.chgat in curses module (#1430)

files:
M Doc/library/curses.rst

diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index f2341f4ec83..13717f7b35e 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -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()



More information about the Python-checkins mailing list