From 62f2451bcefe3ed90c6f966e6a9ac805f1c5a6a7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 21 Mar 2021 17:25:19 +0100 Subject: [PATCH 1/4] Fix a minor issue in the curses docs --- Doc/library/curses.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index f55bb034b559bf..e649d022ead650 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -1309,8 +1309,8 @@ the following methods and attributes: :meth:`refresh`. -.. method:: window.vline(ch, n) - window.vline(y, x, ch, n) +.. method:: window.vline(ch, n[, attr]) + window.vline(y, x, ch, n[, attr]) Display a vertical line starting at ``(y, x)`` with length *n* consisting of the character *ch*. From 950865938948ae2cf7fca090233ecfa2289c80e9 Mon Sep 17 00:00:00 2001 From: Stanley <46876382+slateny@users.noreply.github.com> Date: Fri, 30 Dec 2022 00:32:03 -0800 Subject: [PATCH 2/4] Add attributes wording --- Doc/library/curses.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index e649d022ead650..43250771a30cb8 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -1313,7 +1313,7 @@ the following methods and attributes: window.vline(y, x, ch, n[, attr]) Display a vertical line starting at ``(y, x)`` with length *n* consisting of the - character *ch*. + character *ch* with attributes *attr*. Constants From 58abb2ce28f05da6d79b468450d74302205ecb37 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Fri, 30 Dec 2022 00:48:32 -0800 Subject: [PATCH 3/4] Add news entry --- .../2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst diff --git a/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst b/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst new file mode 100644 index 00000000000000..2a8f7c95e33c9d --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst @@ -0,0 +1,2 @@ +Document existing `attr` parameter to :func:`curses.window.vline` function +in :mod:`curses`. From c9c82a7304163ba54265014a36b9a156666d5ca7 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Fri, 30 Dec 2022 01:02:49 -0800 Subject: [PATCH 4/4] Use double backticks in news entry --- .../2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst b/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst index 2a8f7c95e33c9d..97a7022c94b474 100644 --- a/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst +++ b/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst @@ -1,2 +1,2 @@ -Document existing `attr` parameter to :func:`curses.window.vline` function +Document existing ``attr`` parameter to :func:`curses.window.vline` function in :mod:`curses`.