]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100616: Document 'attr' parameter for window.vline() in curses module (#24961)
authormathieui <mathieui@users.noreply.github.com>
Fri, 30 Dec 2022 16:35:04 +0000 (17:35 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Dec 2022 16:35:04 +0000 (08:35 -0800)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Doc/library/curses.rst
Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst [new file with mode: 0644]

index f9f94b22f69e3d998df018ae4071563a024f2cfc..f50b51c3780ef0dbd9759723e524ff7485f333d7 100644 (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
diff --git a/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst b/Misc/NEWS.d/next/Documentation/2022-12-30-00-42-23.gh-issue-100616.eu80ij.rst
new file mode 100644 (file)
index 0000000..97a7022
--- /dev/null
@@ -0,0 +1,2 @@
+Document existing ``attr`` parameter to :func:`curses.window.vline` function
+in :mod:`curses`.