Skip to content

Commit 297465a

Browse files
miss-islingtonmathieuislateny
authored
gh-100616: Document 'attr' parameter for window.vline() in curses module (GH-24961)
(cherry picked from commit f4fcfdf) Co-authored-by: mathieui <mathieui@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
1 parent c88a83e commit 297465a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Doc/library/curses.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1300,11 +1300,11 @@ the following methods and attributes:
13001300
:meth:`refresh`.
13011301

13021302

1303-
.. method:: window.vline(ch, n)
1304-
window.vline(y, x, ch, n)
1303+
.. method:: window.vline(ch, n[, attr])
1304+
window.vline(y, x, ch, n[, attr])
13051305

13061306
Display a vertical line starting at ``(y, x)`` with length *n* consisting of the
1307-
character *ch*.
1307+
character *ch* with attributes *attr*.
13081308

13091309

13101310
Constants
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Document existing ``attr`` parameter to :func:`curses.window.vline` function
2+
in :mod:`curses`.

0 commit comments

Comments
 (0)