Skip to content

Commit f4fcfdf

Browse files
mathieuislateny
andauthored
pythongh-100616: Document 'attr' parameter for window.vline() in curses module (python#24961)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
1 parent 79c10b7 commit f4fcfdf

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
@@ -1297,11 +1297,11 @@ the following methods and attributes:
12971297
:meth:`refresh`.
12981298

12991299

1300-
.. method:: window.vline(ch, n)
1301-
window.vline(y, x, ch, n)
1300+
.. method:: window.vline(ch, n[, attr])
1301+
window.vline(y, x, ch, n[, attr])
13021302

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

13061306

13071307
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)