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 (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>
  • Loading branch information
3 people authored Dec 30, 2022
1 parent c88a83e commit 297465a
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 @@ -1300,11 +1300,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 297465a

Please sign in to comment.