From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 21 May 2025 13:08:20 +0000 (+0200) Subject: [3.14] Fix signature of `_curses.assume_default_colors` in the docs (GH-134409) ... X-Git-Tag: v3.14.0b2~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac27008ccdaed0ca587bacb9dd51bfb7503a0ae0;p=thirdparty%2FPython%2Fcpython.git [3.14] Fix signature of `_curses.assume_default_colors` in the docs (GH-134409) (#134417) Fix signature of `_curses.assume_default_colors` in the docs (GH-134409) (cherry picked from commit dcfc91e4e552e74a43f5fdf049af7a8fe7a784ee) Co-authored-by: sobolevn --- diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index 5ec23b613967..0b13c559295f 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -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.