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

(cherry picked from commit f4fcfdf8c5)

Co-authored-by: mathieui <mathieui@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-12-30 09:05:49 -08:00 committed by GitHub
parent c88a83e7d8
commit 297465a4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

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

View File

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