Skip to content

Commit

Permalink
gh-100616: Document 'attr' parameter for window.vline() in curses mod…
Browse files Browse the repository at this point in the history
…ule (#24961)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
  • Loading branch information
mathieui and slateny committed Dec 30, 2022
1 parent 79c10b7 commit f4fcfdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/curses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1297,11 +1297,11 @@ 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*.
character *ch* with attributes *attr*.


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

0 comments on commit f4fcfdf

Please sign in to comment.