gh-100616: Document 'attr' parameter for window.vline() in curses module (#24961)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
This commit is contained in:
mathieui 2022-12-30 17:35:04 +01:00 committed by GitHub
parent 79c10b7da8
commit f4fcfdf8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
Document existing ``attr`` parameter to :func:`curses.window.vline` function
in :mod:`curses`.