]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix signature of `_curses.assume_default_colors` in the docs (GH-134409) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 May 2025 13:08:20 +0000 (15:08 +0200)
committerGitHub <noreply@github.com>
Wed, 21 May 2025 13:08:20 +0000 (13:08 +0000)
Fix signature of `_curses.assume_default_colors` in the docs (GH-134409)
(cherry picked from commit dcfc91e4e552e74a43f5fdf049af7a8fe7a784ee)

Co-authored-by: sobolevn <mail@sobolevn.me>
Doc/library/curses.rst

index 5ec23b61396773a9d688d5bdfe0e130379aacb58..0b13c559295f3c64de81037dc58abd542bcb54fd 100644 (file)
@@ -68,7 +68,7 @@ The module :mod:`curses` defines the following exception:
 The module :mod:`curses` defines the following functions:
 
 
-.. function:: assume_default_colors(fg, bg)
+.. function:: assume_default_colors(fg, bg, /)
 
    Allow use of default values for colors on terminals supporting this feature.
    Use this to support transparency in your application.